mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 01:49:05 +02:00
Readded accidentially removed RedirectorController to routes.
This commit is contained in:
parent
8525a815c3
commit
1812e6f5bc
1 changed files with 7 additions and 7 deletions
|
@ -8,10 +8,10 @@ scan_qr:
|
||||||
path: /scan/{type}/{id}
|
path: /scan/{type}/{id}
|
||||||
controller: App\Controller\ScanController:scanQRCode
|
controller: App\Controller\ScanController:scanQRCode
|
||||||
|
|
||||||
#redirector:
|
redirector:
|
||||||
# path: /{url}
|
path: /{url}
|
||||||
# requirements:
|
requirements:
|
||||||
# url: ".*"
|
url: ".*"
|
||||||
# controller: App\Controller\RedirectController:addLocalePart
|
controller: App\Controller\RedirectController:addLocalePart
|
||||||
# # Dont match localized routes (no redirection loop, if no root with that name exists)
|
# Dont match localized routes (no redirection loop, if no root with that name exists)
|
||||||
# condition: "not (request.getPathInfo() matches '/^\\\\/[a-z]{2}(_[A-Z]{2})?\\\\//')"
|
condition: "not (request.getPathInfo() matches '/^\\\\/[a-z]{2}(_[A-Z]{2})?\\\\//')"
|
Loading…
Add table
Add a link
Reference in a new issue