Skip to content

Commit

Permalink
add 127.0.0.1 to origins
Browse files Browse the repository at this point in the history
  • Loading branch information
Leg0shii committed Sep 29, 2024
1 parent 95e0ee2 commit 80212da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
app.include_router(summaries.router)
app.include_router(auth.router)

origins = [
"http://localhost:5000",
]
origins = ["http://localhost:5000", "http://127.0.0.1:5000"]

app.add_middleware(
CORSMiddleware,
Expand Down

0 comments on commit 80212da

Please sign in to comment.