mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-23 10:39:34 +00:00
Fixed paths generated using app.request.requestUri when in a reverse proxy with a subpath
Related to issue #428
This commit is contained in:
parent
5f86253b94
commit
7163df6d46
9 changed files with 10 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<div class="btn-group mb-2 mt-2">
|
||||
<a class="btn btn-success" {% if not is_granted('@projects.edit') %}disabled{% endif %}
|
||||
href="{{ path('project_add_parts', {"id": project.id, "_redirect": app.request.requestUri}) }}">
|
||||
href="{{ path('project_add_parts', {"id": project.id, "_redirect": app.request.baseUrl ~ app.request.requestUri}) }}">
|
||||
<i class="fa-solid fa-square-plus fa-fw"></i>
|
||||
{% trans %}project.info.bom_add_parts{% endtrans %}
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue