This commit is contained in:
valueon 2025-03-16 17:46:01 +01:00
parent 70d37fd198
commit 526e94d263

View file

@ -54,7 +54,7 @@ app = FastAPI(title="PowerOn | Data Platform API", description="Backend-API für
# CORS-Konfiguration für Frontend-Anfragen
app.add_middleware(
CORSMiddleware,
allow_origins=["http://localhost:8080","https://poweron-gateway-fsahaxgbfee8djea.germanywestcentral-01.azurewebsites.net/"],
allow_origins=["http://localhost:8080","https://poweron-gateway-fsahaxgbfee8djea.germanywestcentral-01.azurewebsites.net"],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],