added middleware for emulation
Some checks failed
checks-impure / test (pull_request) Successful in 26s
checks / test (pull_request) Failing after 3m38s

This commit is contained in:
Georg-Stahn
2024-01-28 18:22:32 +01:00
parent 5b64eb4c3f
commit 3828402865
2 changed files with 14 additions and 2 deletions

View File

@@ -5,7 +5,11 @@ cors_url = [
"http://0.0.0.0",
"http://[::]",
]
cors_ports = ["*", 3000, 2979]
cors_ports = ["*", 3000, 2979, 8001, 8002]
cors_whitelist = []
for u in cors_url:
for p in cors_ports:
cors_whitelist.append(f"{u}:{p}")
# host for the server, frontend, backend and emulators
host = "127.0.0.1"