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

This commit is contained in:
2026-05-31 15:34:08 +10:00
parent 3b6ae81d45
commit d3e62ce281

View File

@@ -13,7 +13,7 @@ app = FastAPI(title="Work BD Auth API",
app.add_middleware(
CORSMiddleware,
allow_origins=["*"], # или список конкретных доменов
allow_origins=["http://localhost:5173, https://allowlgroup.ru/, https://allowlgroup.ru"], # или список конкретных доменов
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],