Move privacy and TOS to Angular

Fixes #1529
This commit is contained in:
Joseph Schorr 2016-06-09 13:45:37 -04:00
parent 12c7f20ae9
commit 8177c39aff
7 changed files with 202 additions and 228 deletions

View file

@ -229,6 +229,18 @@ def v1():
return index('')
@web.route('/tos', methods=['GET'])
@no_cache
def tos():
return index('')
@web.route('/privacy', methods=['GET'])
@no_cache
def privacy():
return index('')
# TODO(jschorr): Remove this mirrored endpoint once we migrate ELB.
@web.route('/health', methods=['GET'])
@web.route('/health/instance', methods=['GET'])
@ -277,24 +289,12 @@ def dbrevision_health():
return response
@web.route('/tos', methods=['GET'])
@no_cache
def tos():
return render_page_template_with_routedata('tos.html')
@web.route('/disclaimer', methods=['GET'])
@no_cache
def disclaimer():
return render_page_template_with_routedata('disclaimer.html')
@web.route('/privacy', methods=['GET'])
@no_cache
def privacy():
return render_page_template_with_routedata('privacy.html')
@web.route('/robots.txt', methods=['GET'])
@no_cache
def robots():