Hardcoded cors allowed origins
This commit is contained in:
Родитель
c1e0155c18
Коммит
dd02f26d0b
|
@ -13,7 +13,8 @@ diff_branch = os.environ.get("DIFF_BRANCH", "diff")
|
|||
frontend_url = os.environ.get("FRONTEND_URL", "http://localhost:8080")
|
||||
origins = [
|
||||
"http://localhost",
|
||||
frontend_url,
|
||||
"http://localhost:8080",
|
||||
"https://speckle-aectech-masterclass.netlify.app"
|
||||
]
|
||||
|
||||
app.add_middleware(
|
||||
|
|
Загрузка…
Ссылка в новой задаче