diff --git a/gwserver/app.py b/gwserver/app.py index 38262217..b88351b7 100644 --- a/gwserver/app.py +++ b/gwserver/app.py @@ -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=["*"],