mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-27 05:19:31 +00:00
Use relative path in templates instead of full pathes
This fixes problems with HTTP/HTTPS mixing
This commit is contained in:
parent
4c4b610daa
commit
92e477775a
9 changed files with 14 additions and 14 deletions
|
|
@ -61,7 +61,7 @@
|
|||
{% endif %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body data-base-url="{{ url('homepage', {'_locale': app.request.locale}) }}" data-locale="{{ app.request.locale|default("en")|slice(0,2) }}">
|
||||
<body data-base-url="{{ path('homepage', {'_locale': app.request.locale}) }}" data-locale="{{ app.request.locale|default("en")|slice(0,2) }}">
|
||||
{% block body %}
|
||||
<header>
|
||||
<turbo-frame id="navbar-frame" target="content" data-turbo-action="advance" data-turbo-permanent>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue