Skip to content

Commit c6efa54

Browse files
committed
fixup! Allow serving frontend via backend
1 parent 1fa2175 commit c6efa54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/bracket/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async def lifespan(_: FastAPI) -> AsyncIterator[None]:
122122

123123
app.add_middleware(
124124
CORSMiddleware,
125-
allow_origins=["localhost:8400", "http://localhost:8400"],
125+
allow_origins=config.cors_origins,
126126
allow_origin_regex=config.cors_origin_regex,
127127
allow_credentials=True,
128128
allow_methods=["*"],

0 commit comments

Comments
 (0)