Add homepage route

This commit is contained in:
James Taylor 2019-07-22 00:53:22 -07:00
parent 28204088af
commit 80b325a225

View File

@ -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")