aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/__init__.py
diff options
context:
space:
mode:
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 faab170..e620827 100644
--- a/youtube/__init__.py
+++ b/youtube/__init__.py
@@ -1,3 +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")