public ip on azure

This commit is contained in:
valueon 2025-03-16 17:17:42 +01:00
parent d52f39b4ee
commit 97616d3fda

View file

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