23 lines
350 B
PHP
23 lines
350 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
'paths' => ['api/*', 'storage/*'],
|
|
|
|
'allowed_methods' => ['*'],
|
|
|
|
'allowed_origins' => ['*'], // ⚠️ Gunakan ['http://localhost:xxxxx'] di production
|
|
|
|
'allowed_origins_patterns' => [],
|
|
|
|
'allowed_headers' => ['*'],
|
|
|
|
'exposed_headers' => [],
|
|
|
|
'max_age' => 0,
|
|
|
|
'supports_credentials' => true
|
|
,
|
|
|
|
];
|