Skip to content

Commit

Permalink
allow all origins
Browse files Browse the repository at this point in the history
  • Loading branch information
juancwu committed Nov 24, 2024
1 parent fbd586e commit 0c7d5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
# configure CORS
app.add_middleware(
CORSMiddleware,
allow_origins=["http://localhost:5173"], # frontend URL
allow_origins=["*"], # frontend URL
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
Expand Down

0 comments on commit 0c7d5f5

Please sign in to comment.