Construct the correct current path, when serving from a subdirectory

This fixes issue #274
This commit is contained in:
Jan Böhmer 2024-10-13 22:49:42 +02:00
parent 0c47aa226c
commit 7145bce605
10 changed files with 12 additions and 12 deletions

View file

@ -15,7 +15,7 @@
<input type="hidden" name="lot_id" value="">
<input type="hidden" name="action" value="">
<input type="hidden" name="_csfr" value="{{ csrf_token('part_withraw' ~ part.iD) }}">
<input type="hidden" name="_redirect" value="{{ app.request.baseUrl ~ app.request.requestUri }}">
<input type="hidden" name="_redirect" value="{{ app.request.baseUrl ~ app.request.pathInfo }}">
<div class="row mb-2">
<label class="col-form-label col-sm-3">