CORS
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-05-31 16:11:07 +10:00
parent 3266e79e54
commit 7f5e9df751

View File

@@ -25,7 +25,7 @@ def setup_routes(app: FastAPI) -> None:
# CORS middleware # CORS middleware
app.add_middleware( app.add_middleware(
CORSMiddleware, CORSMiddleware,
allow_origins=["*"], allow_origins=["http://localhost:5173", "https://allowlgroup.ru"],
allow_credentials=True, allow_credentials=True,
allow_methods=["*"], allow_methods=["*"],
allow_headers=["*"], allow_headers=["*"],