akaunting/config/cors.php

35 lines
847 B
PHP
Raw Permalink Normal View History

2020-03-04 11:09:28 +03:00
<?php
return [
/*
|--------------------------------------------------------------------------
| Cross-Origin Resource Sharing (CORS) Configuration
|--------------------------------------------------------------------------
|
| 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
|
*/
2022-06-01 10:15:55 +03:00
'paths' => [env('API_PREFIX', 'api') . '/*'],
2020-03-04 11:09:28 +03:00
'allowed_methods' => ['*'],
'allowed_origins' => ['*'],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
2020-03-13 10:34:12 +03:00
'exposed_headers' => [],
2020-03-04 11:09:28 +03:00
2020-03-13 10:34:12 +03:00
'max_age' => 0,
2020-03-04 11:09:28 +03:00
'supports_credentials' => false,
];