From d2d56360a1b251c7f232693e5966539a6aa88e17 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 5 Mar 2022 22:54:07 +0200 Subject: [PATCH] worse PR --- files/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/__main__.py b/files/__main__.py index 891f364ce..0d61cee21 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -22,6 +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.url_map.strict_slashes = False app.jinja_env.cache = {} app.jinja_env.auto_reload = True