Add about.html
This commit is contained in:
5
app.py
5
app.py
@@ -94,6 +94,11 @@ def favicon():
|
||||
return send_from_directory(os.path.join(app.root_path, 'static'),
|
||||
'favicon.ico', mimetype='image/vnd.microsoft.icon')
|
||||
|
||||
@app.route('/about')
|
||||
def about():
|
||||
return send_from_directory(os.path.join(app.root_path, 'static'),
|
||||
'about.html')
|
||||
|
||||
if __name__ == "__main__":
|
||||
logging.info('Starting erdbeerhannah v1.0.1')
|
||||
app.run(debug=True, host='0.0.0.0')
|
Reference in New Issue
Block a user