Merge pull request #780 from coreos-inc/disable404

Disable 404, as it is breaking V2 API checks
This commit is contained in:
josephschorr 2015-11-04 02:50:27 -05:00
commit 1520d68c80

View file

@ -58,10 +58,11 @@ def index(path, **kwargs):
def internal_error_display():
return render_page_template('500.html')
@web.errorhandler(404)
@web.route('/404', methods=['GET'])
def not_found_error_display(e = None):
return render_page_template('404.html')
#TODO: reenable once fixed
#@web.errorhandler(404)
#@web.route('/404', methods=['GET'])
#def not_found_error_display(e = None):
# return render_page_template('404.html')
@web.route('/organization/<path:path>', methods=['GET'])
@no_cache