Move static files to static dir

This commit is contained in:
Midgard 2019-03-27 22:05:43 +01:00
parent 6bb2c6e2e5
commit 59140c900e
2 changed files with 1 additions and 1 deletions

View file

@ -184,7 +184,7 @@ def random_quote():
@app.route('/robots.txt', methods=['GET'])
def get_robots():
return send_file('templates/robots.txt')
return send_file('static/robots.txt')
@app.route('/quotes.html', methods=['GET'])