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

index a147e9aba70a8d79f14a16e9b435b9006f3a3163..92619ecb88d7476abe900c29f0be9755b7d7ef51 100644 (file)
@@ -48,7 +48,7 @@
   <%block name="meta_description" />
   <%block name="stylesheet_links">
     <link rel="stylesheet"
-          href="${request.static_url('pgwui_common:static/pgwui.css')}"
+          href="${request.static_path('pgwui_common:static/pgwui.css')}"
           type="text/css" />
   </%block>
 </head>