feat(api): allow all origins for CORS

This commit is contained in:
Jokob @NetAlertX
2026-01-19 02:04:47 +00:00
committed by GitHub
parent 6c2a843f9a
commit ddebc2418f

View File

@@ -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(