mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-05 01:39:33 +00:00
Construct the correct current path, when serving from a subdirectory
This fixes issue #274
This commit is contained in:
parent
0c47aa226c
commit
7145bce605
10 changed files with 12 additions and 12 deletions
|
|
@ -28,7 +28,7 @@
|
|||
<div class="col-4">
|
||||
<div class="input-group mb-3">
|
||||
<input type="number" min="1" class="form-control" placeholder="{% trans %}project.builds.number_of_builds{% endtrans %}" name="n" required>
|
||||
<input type="hidden" name="_redirect" value="{{ app.request.baseUrl ~ app.request.requestUri }}">
|
||||
<input type="hidden" name="_redirect" value="{{ app.request.baseUrl ~ app.request.pathInfo }}">
|
||||
<button class="btn btn-outline-secondary" type="submit" id="button-addon2">{% trans %}project.build.btn_build{% endtrans %}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue