mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Allow 127.0.0.1 in CORS
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"CORS_ALLOW_ORIGIN": "^https?://localhost(:[0-9]+)?$"
|
||||
"CORS_ALLOW_ORIGIN": "^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$"
|
||||
},
|
||||
"aliases": ["cors"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user