From a8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2 Mon Sep 17 00:00:00 2001 From: zrose584 <57181548+zrose584@users.noreply.github.com> Date: Sun, 18 Oct 2020 17:58:16 +0200 Subject: proxy 'sponsor.ajay.app' --- youtube/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'youtube/__init__.py') diff --git a/youtube/__init__.py b/youtube/__init__.py index 3c271f1..92e1878 100644 --- a/youtube/__init__.py +++ b/youtube/__init__.py @@ -7,6 +7,10 @@ from sys import exc_info yt_app = flask.Flask(__name__) yt_app.config['TEMPLATES_AUTO_RELOAD'] = True yt_app.url_map.strict_slashes = False +# yt_app.jinja_env.trim_blocks = True +# yt_app.jinja_env.lstrip_blocks = True + + yt_app.add_url_rule('/settings', 'settings_page', settings.settings_page, methods=['POST', 'GET']) -- cgit v1.2.3