aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/__init__.py')
-rw-r--r--youtube/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube/__init__.py b/youtube/__init__.py
new file mode 100644
index 0000000..e620827
--- /dev/null
+++ b/youtube/__init__.py
@@ -0,0 +1,7 @@
+import flask
+yt_app = flask.Flask(__name__)
+yt_app.url_map.strict_slashes = False
+
+@yt_app.route('/')
+def homepage():
+ return flask.render_template('base.html', title="Youtube local")