mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-10 20:29:34 +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
|
|
@ -21,7 +21,7 @@
|
|||
{% if is_granted("@tools.label_scanner") %}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link"
|
||||
href="{{ url("scan_dialog") }}">{% trans %}navbar.scanner.link{% endtrans %}</a>
|
||||
href="{{ path("scan_dialog") }}">{% trans %}navbar.scanner.link{% endtrans %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue