Skip to content

Commit e68d32e

Browse files
committed
refactor: update CORS middleware configuration
- Changed CORS middleware to allow all origins by updating the allow_origins parameter to ["*"], enhancing flexibility for cross-origin requests.
1 parent 8a0abd7 commit e68d32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async def lifespan(_: FastAPI):
105105
# CORS middleware setup
106106
app.add_middleware(
107107
CORSMiddleware,
108-
allow_origins=["https://kc.pad.ws", "*"],
108+
allow_origins=["*"],
109109
allow_credentials=True,
110110
allow_methods=["*"],
111111
allow_headers=["*"],

0 commit comments

Comments
 (0)