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