From 3566409652b9bc893a906a206da903203a88f515 Mon Sep 17 00:00:00 2001 From: Karl Date: Mon, 18 Aug 2025 15:21:06 +0100 Subject: [PATCH] updated urls --- app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.py b/app.py index 37bdee2..91e29db 100644 --- a/app.py +++ b/app.py @@ -306,6 +306,9 @@ def delete_account() -> Response: # Clear home page cache as well since it shows account stats cache_key_home = f"view/{session['username']}/home" cache.delete(cache_key_home) + # Run the NPM config update in a background thread to remove the deleted account's redirect + thread = threading.Thread(target=_update_npm_config_in_background, args=(session["auth_credentials"],)) + thread.start() return redirect(url_for("user_accounts")) @app.route("/validateAccount", methods=["POST"])