このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
2018-02-09 01:17:45 +09:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
2020-05-26 09:54:01 +09:00
|
|
|
| Cross-Origin Resource Sharing (CORS) Configuration
|
2018-02-09 01:17:45 +09:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
2020-05-26 09:54:01 +09:00
|
|
|
| Here you may configure your settings for cross-origin resource sharing
|
|
|
|
| or "CORS". This determines what cross-origin operations may execute
|
|
|
|
| in web browsers. You are free to adjust these settings as needed.
|
|
|
|
|
|
|
|
|
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
2018-02-09 01:17:45 +09:00
|
|
|
|
|
|
|
|
*/
|
2020-05-26 09:54:01 +09:00
|
|
|
|
|
|
|
'paths' => ['api/*'],
|
|
|
|
|
|
|
|
'allowed_methods' => ['*'],
|
|
|
|
|
|
|
|
'allowed_origins' => ['*'],
|
|
|
|
|
|
|
|
'allowed_origins_patterns' => [],
|
|
|
|
|
|
|
|
'allowed_headers' => ['*'],
|
|
|
|
|
|
|
|
'exposed_headers' => [],
|
|
|
|
|
|
|
|
'max_age' => 0,
|
|
|
|
|
|
|
|
'supports_credentials' => false,
|
2018-02-09 01:17:45 +09:00
|
|
|
|
|
|
|
];
|