/sanctum/csrf-cookie Should use api instead of web middleware
The middleware currently used for routing is the web group, but the documentation is to add the EnsureFrontendRequestsAreStateful middleware to the api group. but it won't work unless it is added to the web group or the global middleware.
Description:
/sanctum/csrf-cookie
Should use api instead of web middlewareThe middleware currently used for routing is the
web
group, but the documentation is to add theEnsureFrontendRequestsAreStateful
middleware to theapi
group. but it won't work unless it is added to theweb
group or the global middleware.