From 6d565d88b9c671a0f8fb5ce3353c7144ddaf5ee6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 19 Sep 2021 00:15:21 +0200 Subject: [PATCH] fsd\ --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 1a96907f71..5d0769958a 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -248,7 +248,7 @@ def googleplayapp(): @app.route("/service-worker.js") def serviceworker(): - with open(".well-known/service-worker.js", "r") as f: return Response(f.read(), mimetype='application/javascript') + return redirect("https://js.pusher.com/beams/service-worker.js") @app.get("/settings/security")