From ce44b520454ec755e47851e8fc386230f86a9b03 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 5 Mar 2022 22:54:27 +0200 Subject: [PATCH] even worse --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index 0d61cee21..1d81fe498 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -22,7 +22,7 @@ for f in (f'files/templates/sidebar_{environ.get("SITE_NAME").strip()}.html', 'd with open(f, 'w', encoding="utf-8"): pass app = Flask(__name__, template_folder='templates') -app.register_blueprint(api_1_0, subdomain='www') +app.register_blueprint(app, subdomain='www') app.url_map.strict_slashes = False app.jinja_env.cache = {} app.jinja_env.auto_reload = True