first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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
|
||||
|
|
||||
*/
|
||||
|
||||
'allowed_origins' => ['http://localhost', 'http://127.0.0.1'],
|
||||
'allowed_methods' => ['GET', 'POST'],
|
||||
'allowed_headers' => ['Content-Type', 'Authorization'],
|
||||
'supports_credentials' => true,
|
||||
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user