fix: Vue SPA catch-all takes priority over legacy Twig routes
All checks were successful
Deploy / deploy (push) Successful in 4m45s
All checks were successful
Deploy / deploy (push) Successful in 4m45s
Without priority:1, Symfony matched legacy controllers (e.g. app_activity at /activity) before the vue_app catch-all on hard reload. Now vue_app matches first for all paths except /api/* and /legacy* which still route to Symfony controllers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f418b36167
commit
aea4e57b9e
@@ -11,4 +11,5 @@ vue_app:
|
||||
template: 'vue/index.html.twig'
|
||||
req: ''
|
||||
requirements:
|
||||
req: ".*"
|
||||
req: "^(?!api/|legacy).*"
|
||||
priority: 1
|
||||
|
||||
Reference in New Issue
Block a user