mirror of
https://github.com/henry4682/finance_app.git
synced 2026-07-16 08:20:00 +00:00
All checks were successful
Laravel-Oracle-Deploy / redeploy (push) Successful in 4s
17 lines
455 B
PHP
17 lines
455 B
PHP
<?php
|
|
|
|
return [
|
|
'paths' => ['api/*', 'v1/*', 'auth/*', 'sanctum/csrf-cookie'],
|
|
|
|
// 🎯 暫時改成全放行星號,排除 cors.php 這一層的陣列比對干擾
|
|
'allowed_methods' => ['*'],
|
|
'allowed_origins' => ['*'],
|
|
'allowed_origins_patterns' => [],
|
|
'allowed_headers' => ['*'],
|
|
'exposed_headers' => [],
|
|
'max_age' => 0,
|
|
|
|
// 🎯 保持 true 以支援登入態 Cookie
|
|
'supports_credentials' => true,
|
|
];
|