Skip to content

Commit

Permalink
Web UI - variable for base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavsulc committed Jul 2, 2024
1 parent f042e6d commit f67e3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapi/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def update_user_name(user_id: str, val):
db.Users.update_one({'id': user_id}, { "$set": { 'name': val } })

web_ui_config = {"BASE_URL": ""}
web_ui_configPath = "/var/lib/mupif/persistent/google_auth_config.json"
web_ui_configPath = "/var/lib/mupif/persistent/web_ui_config.json"
if os.path.exists(web_ui_configPath):
with open(web_ui_configPath) as config_json:
web_ui_config = json.load(config_json)
Expand Down

0 comments on commit f67e3a4

Please sign in to comment.