This commit is contained in:
2026-01-09 23:17:07 +00:00
parent 82f1f37af6
commit e400b203b8
5 changed files with 56 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ return [
*/
'env' => env('APP_ENV', 'production'),
'providers' => [
App\Providers\ResponseMacroServiceProvider::class,
],
/*
|--------------------------------------------------------------------------

19
config/cors.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
return [
'paths' => ['api/*', 'sanctum/csrf-cookie'],
'allowed_methods' => ['*'],
'allowed_origins' => ['*'],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => false,
];