Unable to register catchall route and use restify at the same time #611
-
If i register my spa catch all route like this in web.php:
Restify no longer works. Even though artisan route:list shows my route as the last registered route, i get this error when i try to visit any of the restify routes:
The sanctum routes just shows my spa application. Heres the output from artisan route:list
RouteServiceProvider:
|
Beta Was this translation helpful? Give feedback.
Answered by
martin-juul
Aug 3, 2024
Replies: 1 comment
-
Ahh error on my side. Restify renames the sanctum login route to restify.login. In the Authenticate middleware my redirect route by default expected it to be named login:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
martin-juul
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ahh error on my side. Restify renames the sanctum login route to restify.login. In the Authenticate middleware my redirect route by default expected it to be named login: