From 921c33892bd4cc0abe824737be2dc7da678330a0 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