18 lines
435 B
PHP
18 lines
435 B
PHP
<?php
|
|
|
|
return [
|
|
'paths' => ['api/*', 'sanctum/csrf-cookie'],
|
|
'allowed_methods' => ['*'],
|
|
'allowed_origins' => [
|
|
'http://localhost:5173',
|
|
'http://127.0.0.1:5173',
|
|
'http://192.168.1.58:3000',
|
|
'https://your-production-site.com',
|
|
],
|
|
'allowed_origins_patterns' => [],
|
|
'allowed_headers' => ['*'],
|
|
'exposed_headers' => [],
|
|
'max_age' => 0,
|
|
'supports_credentials' => true,
|
|
];
|