mirror of
https://github.com/dyzulk/trustlab-api.git
synced 2026-01-26 13:22:05 +07:00
fix: allow localhost cors for docs development
This commit is contained in:
@@ -23,6 +23,7 @@ return [
|
|||||||
|
|
||||||
'allowed_origins_patterns' => [
|
'allowed_origins_patterns' => [
|
||||||
'#^https?://.*\.trustlab\.pages\.dev$#',
|
'#^https?://.*\.trustlab\.pages\.dev$#',
|
||||||
|
'#^http://localhost:\d+$#',
|
||||||
],
|
],
|
||||||
|
|
||||||
'allowed_headers' => ['*'],
|
'allowed_headers' => ['*'],
|
||||||
|
|||||||
Reference in New Issue
Block a user