make the download form the top-level doc

This commit is contained in:
neingeist 2018-11-10 21:40:52 +01:00
parent 87d4f88bcb
commit d014a11aa9
2 changed files with 1 additions and 11 deletions

View file

@ -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():

View file

@ -1,5 +0,0 @@
{% extends "base.html" %}
{% block app_content %}
<h1>Hello!</h1>
{% endblock %}