Skip to content

Commit

Permalink
add more cors (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
eksno authored Feb 27, 2024
1 parent 9a3305c commit 2484bc4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion aitino/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,18 @@
app.add_middleware(
CORSMiddleware,
allow_origins=[
"http://localhost:5173",
"http://localhost:5174",
"http://localhost:8000",
"http://127.0.0.1:8000",
"http://localhost:8001",
"http://localhost:8080",
"http://localhost:8081",
"http://127.0.0.1:5173",
"http://127.0.0.1:5174",
"http://127.0.0.1:8000",
"http://127.0.0.1:8001",
"http://127.0.0.1:8080",
"http://127.0.0.1:8081",
],
allow_credentials=True,
allow_methods=["*"],
Expand Down

0 comments on commit 2484bc4

Please sign in to comment.