mirror of
https://github.com/dyzulk/trustlab-api.git
synced 2026-01-26 05:15:35 +07:00
chore: cleanup CORS and localhost references in config
This commit is contained in:
@@ -19,7 +19,7 @@ return [
|
||||
|
||||
'allowed_methods' => ['*'],
|
||||
|
||||
'allowed_origins' => ['http://localhost:3000', 'http://127.0.0.1:3000', 'https://trustlab.dyzulk.com', 'https://trustlab-api.dyzulk.com', 'https://trustlab.pages.dev', 'https://dev.trustlab.dyzulk.com'],
|
||||
'allowed_origins' => explode(',', env('ALLOWED_ORIGINS', 'https://trustlab.dyzulk.com,https://api.trustlab.dyzulk.com,https://trustlab.pages.dev')),
|
||||
|
||||
'allowed_origins_patterns' => [
|
||||
'#^https?://.*\.trustlab\.pages\.dev$#',
|
||||
|
||||
Reference in New Issue
Block a user