mirror of https://git.48k.eu/ogcp
Fix internal server error code
parent
b7e980f946
commit
19be0f87de
|
@ -20,8 +20,8 @@ def page_not_found(error):
|
|||
return render_template('error.html', message=error), 404
|
||||
|
||||
@app.errorhandler(500)
|
||||
def page_not_found(error):
|
||||
return render_template('error.html', message=error), 404
|
||||
def server_error(error):
|
||||
return render_template('error.html', message=error), 500
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
|
|
Loading…
Reference in New Issue