Added dependencies and basic structures

This commit is contained in:
Jan Böhmer 2026-05-06 22:58:38 +02:00
parent cb669ad4ec
commit d453c48c55
8 changed files with 2236 additions and 1546 deletions

View file

@ -18,6 +18,11 @@ csp_report:
methods: [POST]
defaults: { _controller: nelmio_security.csp_reporter_controller::indexAction }
mcp:
resource: .
type: mcp
# Must be last as it matches everything
redirector:
path: /{url}
@ -26,3 +31,4 @@ redirector:
controller: App\Controller\RedirectController::addLocalePart
# Dont match localized routes (no redirection loop, if no root with that name exists) or API prefixed routes
condition: "not (request.getPathInfo() matches '/^\\\\/([a-z]{2}(_[A-Z]{2})?|api)\\\\//')"