Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
AmirAgassi committed Nov 24, 2024
1 parent 82e65fe commit e5b5e23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend/main.py
Original file line number Diff line number Diff line change
@@ -59,7 +59,11 @@
# configure CORS
app.add_middleware(
CORSMiddleware,
allow_origins=["http://localhost:5173"], # frontend URL
allow_origins=[
"http://localhost:5173", # development URL
"http://195.242.13.94", # production URL
"https://195.242.13.94" # 99% sure we dont need this. it's here for that 1%L
],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],

0 comments on commit e5b5e23

Please sign in to comment.