Fix endpoint compatibility
This commit is contained in:
1 parent
81f654c3fd
commit
1fba549359
4 files changed
+4
-82
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ def create_application() -> FastAPI:
|
||||
application.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=["*"],
|
||||
allow_credentials=True,
|
||||
allow_credentials=False, # Changed to False for better compat with allow_origins=["*"]
|
||||
allow_methods=["*"],
|
||||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user