From 0deafec6a3dc0d9c3e0b5b1753fae0488e42bc82 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 23 Dec 2021 18:40:57 +0200 Subject: [PATCH] dsfsdf --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index cabfa2106..7e347a4b0 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -128,6 +128,6 @@ def after_request(response): @app.route("/", subdomain="www") @app.route("/", subdomain="old") def sub_redirect(path): - return redirect(f"https://{app.config['SERVER_NAME']}{request.full_path}") + return redirect(request.full_path) from files.routes import * \ No newline at end of file