📜  laravel sanctum axios 未验证 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:44.797000             🧑  作者: Mango

代码示例1
// open "app/Http/Kernal.php"
// in "protected $middlewareGroups"
// in "api"
// uncomment this class:
\Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class