Skip to content

Commit a027d21

Browse files
Update the CORS
1 parent 2387833 commit a027d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mxgo/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ async def lifespan(_app: FastAPI):
135135

136136
ALLOWED_ORIGINS_DEV = [
137137
"http://localhost",
138-
"http://localhost:8080",
138+
"http://localhost:5173",
139139
"http://127.0.0.1",
140-
"http://127.0.0.1:8080",
140+
"http://127.0.0.1:5173",
141141
]
142142

143143
app.add_middleware(

0 commit comments

Comments
 (0)