diff --git a/app/routes.py b/app/routes.py index 16b4a08..0144d32 100644 --- a/app/routes.py +++ b/app/routes.py @@ -3,12 +3,7 @@ from app import app from app.forms import DownloadForm from datetime import datetime, timedelta -@app.route('/') -@app.route('/index') -def index(): - return render_template('index.html') - -@app.route('/download', methods=['GET', 'POST']) +@app.route('/', methods=['GET', 'POST']) def download(): form = DownloadForm() if form.validate_on_submit(): diff --git a/app/templates/index.html b/app/templates/index.html deleted file mode 100644 index 2482f21..0000000 --- a/app/templates/index.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html" %} - -{% block app_content %} -

Hello!

-{% endblock %}