Files
finance_app/config/cors.php
2026-06-25 21:58:00 +08:00

13 lines
383 B
PHP

<?php
return [
'paths' => ['api/*', 'v1/*', 'auth/*', 'sanctum/csrf-cookie'],
'allowed_methods' => ['*'],
'allowed_origins' => ['https://fin-buddy.duckdns.org', 'http://localhost:5173', 'http://127.0.0.1:5173'],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => true,
];