mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-25 08:37:23 +01:00
Fixed deprecated controller route syntax.
This commit is contained in:
@@ -12,6 +12,6 @@ redirector:
|
||||
path: /{url}
|
||||
requirements:
|
||||
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)
|
||||
condition: "not (request.getPathInfo() matches '/^\\\\/[a-z]{2}(_[A-Z]{2})?\\\\//')"
|
||||
Reference in New Issue
Block a user