Изменения корса
This commit is contained in:
parent
b8c7a8e1b0
commit
0b7f513187
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ app.include_router(websocket_router)
|
|||
app.include_router(user_router)
|
||||
app.include_router(image_router)
|
||||
|
||||
origins = ["http://localhost:5173"]
|
||||
origins = ["http://localhost:5173", "http://localhost:3000"]
|
||||
headers = [
|
||||
"Content-Type",
|
||||
"Set-Cookie",
|
||||
|
|
Loading…
Add table
Reference in a new issue