parent
b5dc62ac7e
commit
35391e65cf
2 changed files with 24 additions and 8 deletions
|
@ -61,7 +61,9 @@ def internal_error_display():
|
|||
@web.errorhandler(404)
|
||||
@web.route('/404', methods=['GET'])
|
||||
def not_found_error_display(e = None):
|
||||
return render_page_template('404.html')
|
||||
resp = render_page_template('404.html')
|
||||
resp.status_code = 404
|
||||
return resp
|
||||
|
||||
@web.route('/organization/<path:path>', methods=['GET'])
|
||||
@no_cache
|
||||
|
|
Reference in a new issue