From ff575e6556a7ad3b4a4ddd967065768fc6f73303 Mon Sep 17 00:00:00 2001 From: idittrich-valueon <137774853+idittrich-valueon@users.noreply.github.com> Date: Wed, 14 May 2025 12:45:33 +0200 Subject: [PATCH] Update app.py --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index bf34d3a4..8bb55345 100644 --- a/app.py +++ b/app.py @@ -86,7 +86,7 @@ async def lifespan(app: FastAPI): # Parse CORS origins from environment variable def get_allowed_origins(): - origins_str = APP_CONFIG.get("APP_ALLOWED_ORIGINS", "http://localhost:5176") + origins_str = APP_CONFIG.get("APP_ALLOWED_ORIGINS", "http://localhost:8080") # Split by comma and strip whitespace origins = [origin.strip() for origin in origins_str.split(",")] logger.info(f"CORS allowed origins: {origins}") @@ -208,4 +208,4 @@ from routes.routeMsft import router as msftRouter app.include_router(msftRouter) #if __name__ == "__main__": -# uvicorn.run("app:app", host="0.0.0.0", port=8000, reload=True) \ No newline at end of file +# uvicorn.run("app:app", host="0.0.0.0", port=8000, reload=True)