add cors
This commit is contained in:
parent
5081729b99
commit
23ec371386
1 changed files with 11 additions and 0 deletions
11
backend/config/cors.php
Normal file
11
backend/config/cors.php
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
return [
|
||||
'paths' => ['api/*', 'sanctum/csrf-cookie'],
|
||||
'allowed_methods' => ['*'],
|
||||
'allowed_origins' => ['https://tide.yisroelbaum.com'],
|
||||
'allowed_origins_patterns' => [],
|
||||
'allowed_headers' => ['*'],
|
||||
'exposed_headers' => [],
|
||||
'max_age' => 0,
|
||||
'supports_credentials' => true,
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue