Use static paths instead of static URLs to ease reverse-proxying
authorKarl O. Pinc <kop@karlpinc.com>
Fri, 4 Oct 2024 22:24:12 +0000 (17:24 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Fri, 4 Oct 2024 22:24:12 +0000 (17:24 -0500)
src/pgwui_menu/templates/menu.mak

index f790ee419eb61681a619f4c1230089798e59d102..3c712b78b2a85f4412859a81898d02395b2c6d3e 100644 (file)
@@ -47,7 +47,7 @@
 <%block name="stylesheet_links">
   ${parent.stylesheet_links()}
   <link rel="stylesheet"
-        href="${request.static_url('pgwui_menu:static/pgwui_menu.css')}"
+        href="${request.static_path('pgwui_menu:static/pgwui_menu.css')}"
         type="text/css" />
 </%block>