@@ -38,10 +38,18 @@ async def serve_index():
3838async def get_config ():
3939 config = {
4040 "API_URL" : os .getenv ("API_URL" , "API_URL not set" ),
41- "REACT_APP_MSAL_AUTH_CLIENTID" : os .getenv ("REACT_APP_MSAL_AUTH_CLIENTID" , "Client ID not set" ),
42- "REACT_APP_MSAL_AUTH_AUTHORITY" : os .getenv ("REACT_APP_MSAL_AUTH_AUTHORITY" , "Authority not set" ),
43- "REACT_APP_MSAL_REDIRECT_URL" : os .getenv ("REACT_APP_MSAL_REDIRECT_URL" , "Redirect URL not set" ),
44- "REACT_APP_MSAL_POST_REDIRECT_URL" : os .getenv ("REACT_APP_MSAL_POST_REDIRECT_URL" , "Post Redirect URL not set" ),
41+ "REACT_APP_MSAL_AUTH_CLIENTID" : os .getenv (
42+ "REACT_APP_MSAL_AUTH_CLIENTID" , "Client ID not set"
43+ ),
44+ "REACT_APP_MSAL_AUTH_AUTHORITY" : os .getenv (
45+ "REACT_APP_MSAL_AUTH_AUTHORITY" , "Authority not set"
46+ ),
47+ "REACT_APP_MSAL_REDIRECT_URL" : os .getenv (
48+ "REACT_APP_MSAL_REDIRECT_URL" , "Redirect URL not set"
49+ ),
50+ "REACT_APP_MSAL_POST_REDIRECT_URL" : os .getenv (
51+ "REACT_APP_MSAL_POST_REDIRECT_URL" , "Post Redirect URL not set"
52+ ),
4553 "ENABLE_AUTH" : os .getenv ("ENABLE_AUTH" , "false" ),
4654 }
4755 return config
@@ -58,4 +66,4 @@ async def serve_app(full_path: str):
5866
5967
6068if __name__ == "__main__" :
61- uvicorn .run (app , host = "0 .0.0.0 " , port = 3000 )
69+ uvicorn .run (app , host = "127 .0.0.1 " , port = 3000 )
0 commit comments