Skip to content

Commit

Permalink
Removed /translator page from UI (datacommonsorg#4754)
Browse files Browse the repository at this point in the history
This removes the legacy /translator debug page from the Data Commons
website.
  • Loading branch information
dwnoble authored Nov 22, 2024
1 parent f1a8171 commit bf0c326
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 756 deletions.
3 changes: 0 additions & 3 deletions server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,6 @@ def register_routes_common(app):
from server.routes.ranking import api as ranking_api
app.register_blueprint(ranking_api.bp)

from server.routes.translator import api as translator_api
app.register_blueprint(translator_api.bp)

from server.routes.nl import api as nl_api
app.register_blueprint(nl_api.bp)

Expand Down
6 changes: 0 additions & 6 deletions server/routes/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ def feedback():
return lib_render.render_page("static/feedback.html", "feedback.html")


# TODO(beets): Move this to a separate handler so it won't be installed on all apps.
@bp.route('/translator')
def translator_handler():
return render_template('translator.html')


@bp.route('/healthz')
def healthz():
return "very healthy"
Expand Down
28 changes: 0 additions & 28 deletions server/routes/translator/api.py

This file was deleted.

25 changes: 0 additions & 25 deletions server/routes/translator/html.py

This file was deleted.

29 changes: 0 additions & 29 deletions server/templates/translator.html

This file was deleted.

24 changes: 0 additions & 24 deletions server/tests/main_test.py

This file was deleted.

Loading

0 comments on commit bf0c326

Please sign in to comment.