Move static files to static dir
This commit is contained in:
parent
6bb2c6e2e5
commit
59140c900e
2 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ def random_quote():
|
||||||
|
|
||||||
@app.route('/robots.txt', methods=['GET'])
|
@app.route('/robots.txt', methods=['GET'])
|
||||||
def get_robots():
|
def get_robots():
|
||||||
return send_file('templates/robots.txt')
|
return send_file('static/robots.txt')
|
||||||
|
|
||||||
|
|
||||||
@app.route('/quotes.html', methods=['GET'])
|
@app.route('/quotes.html', methods=['GET'])
|
||||||
|
|
Loading…
Reference in a new issue