aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/__init__.py
diff options
context:
space:
mode:
authorJames Taylor <28744867+user234683@users.noreply.github.com>2020-10-21 18:53:34 -0700
committerGitHub <noreply@github.com>2020-10-21 18:53:34 -0700
commit8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0 (patch)
tree6bff6ae507db03e435bb04e3969ef08093f3f8d8 /youtube/__init__.py
parentf01ef36a37c9112eca3f85d49622c41d68000a69 (diff)
parentaa52c7a42e9573105dfadb07981c7f5f1447ca9d (diff)
downloadyt-local-8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0.tar.lz
yt-local-8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0.tar.xz
yt-local-8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0.zip
Merge pull request #32 from zrose584/add_sponsorblock
add sponsorblock.js
Diffstat (limited to 'youtube/__init__.py')
-rw-r--r--youtube/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube/__init__.py b/youtube/__init__.py
index 61039d3..6d79e44 100644
--- a/youtube/__init__.py
+++ b/youtube/__init__.py
@@ -8,6 +8,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'])