From 92a134c28f68f8f319a30a8b99932d41e81727c2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 5 Sep 2022 01:37:01 +0200 Subject: [PATCH] fix PWA prompt not working for logged-in users --- files/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/__main__.py b/files/__main__.py index 9b3832f92f..f5e88bf906 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -106,6 +106,7 @@ def before_request(): request.path = request.path.rstrip('/') request.full_path = request.full_path.rstrip('?').rstrip('/') + if not request.path: request.path = '/' @app.after_request def after_request(response):