改进 CORS

This commit is contained in:
iVampireSP.com 2023-01-05 15:02:28 +08:00
parent d3eef1b4a6
commit c81151aeda
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -15,7 +15,7 @@
| |
*/ */
'paths' => ['api/*', 'sanctum/csrf-cookie', 'broadcasting/*'], 'paths' => ['api', 'api/*', 'sanctum/csrf-cookie', 'broadcasting/*'],
'allowed_methods' => ['*'], 'allowed_methods' => ['*'],