[CORS] fix methods
maybe add test for cors? idk how tho
This commit is contained in:
@@ -55,7 +55,7 @@ app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=origins,
|
||||
allow_credentials=True,
|
||||
allow_methods=["GET" "PUT" "POST" "DELETE" "PATCH"],
|
||||
allow_methods=["GET", "PUT", "POST", "DELETE", "PATCH"],
|
||||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user