From 97616d3fda08c2e1ca8bd8e5229c38ece9b8806a Mon Sep 17 00:00:00 2001
From: valueon
Date: Sun, 16 Mar 2025 17:17:42 +0100
Subject: [PATCH] public ip on azure
---
gwserver/app.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gwserver/app.py b/gwserver/app.py
index e114ba64..38262217 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"],
+ allow_origins=["http://localhost:8080","https://poweron-gateway-fsahaxgbfee8djea.germanywestcentral-01.azurewebsites.net/"],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],