Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
eudoxos committed Jun 25, 2024
1 parent 652b247 commit d434c4f
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 } })

login_config = {}
googleConfigPath = os.path.expanduser("~/persistent/google_auth_config.json")
googleConfigPath = os.path.expanduser("/var/lib/mupif/persistent/google_auth_config.json")
if os.path.exists(googleConfigPath):
with open(googleConfigPath) as config_json:
login_config = json.load(config_json)
Expand Down

0 comments on commit d434c4f

Please sign in to comment.