Disable 404, as it is breaking V2 API checks
This commit is contained in:
parent
3aaa00e3b0
commit
d4646e459e
1 changed files with 5 additions and 4 deletions
|
@ -58,10 +58,11 @@ def index(path, **kwargs):
|
||||||
def internal_error_display():
|
def internal_error_display():
|
||||||
return render_page_template('500.html')
|
return render_page_template('500.html')
|
||||||
|
|
||||||
@web.errorhandler(404)
|
#TODO: reenable once fixed
|
||||||
@web.route('/404', methods=['GET'])
|
#@web.errorhandler(404)
|
||||||
def not_found_error_display(e = None):
|
#@web.route('/404', methods=['GET'])
|
||||||
return render_page_template('404.html')
|
#def not_found_error_display(e = None):
|
||||||
|
# return render_page_template('404.html')
|
||||||
|
|
||||||
@web.route('/organization/<path:path>', methods=['GET'])
|
@web.route('/organization/<path:path>', methods=['GET'])
|
||||||
@no_cache
|
@no_cache
|
||||||
|
|
Reference in a new issue