mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-04 01:01:35 -07:00
feat(api): allow all origins for CORS
This commit is contained in:
@@ -113,6 +113,7 @@ if not _cors_origins:
|
|||||||
"http://localhost:20212",
|
"http://localhost:20212",
|
||||||
"http://127.0.0.1:20211",
|
"http://127.0.0.1:20211",
|
||||||
"http://127.0.0.1:20212",
|
"http://127.0.0.1:20212",
|
||||||
|
"*" # Allow all origins as last resort
|
||||||
]
|
]
|
||||||
|
|
||||||
CORS(
|
CORS(
|
||||||
|
|||||||
Reference in New Issue
Block a user