Skip to content

Commit

Permalink
Comment on static route
Browse files Browse the repository at this point in the history
  • Loading branch information
stacimc committed Sep 7, 2024
1 parent a10bede commit 99d77ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions indexer_worker/indexer_worker/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def create_api():
_api.add_route("/healthcheck", HealthcheckResource())
_api.add_route("/task", IndexingJobResource(task_tracker))
_api.add_route("/task/{task_id}", TaskStatusResource(task_tracker))

# Used to serve the mock sensitive terms list. Intended for local testing
# only.
_api.add_static_route("/static", (Path(".") / "static").absolute())

return _api
Expand Down

0 comments on commit 99d77ea

Please sign in to comment.