Files
cloud-chip.cn/config/cors.php
T
2026-08-08 18:27:38 +08:00

22 lines
327 B
PHP

<?php
return [
'paths' => ['api/*', 'sanctum/csrf-cookie'],
'allowed_methods' => ['*'],
'allowed_origins' => [env('APP_URL', 'http://localhost')],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => true,
];