diff --git a/src/khoj/routers/web_client.py b/src/khoj/routers/web_client.py index f890f6b3..937b5cdf 100644 --- a/src/khoj/routers/web_client.py +++ b/src/khoj/routers/web_client.py @@ -14,7 +14,7 @@ from khoj.utils.rawconfig import GithubContentConfig, GithubRepoConfig # Initialize Router web_client = APIRouter() -templates = Jinja2Templates([constants.web_directory, constants.next_js_directory]) +templates = Jinja2Templates([constants.web_directory, constants.next_js_directory, constants.pypi_static_directory]) # Create Routes diff --git a/src/khoj/utils/constants.py b/src/khoj/utils/constants.py index d8a54691..c3d8a186 100644 --- a/src/khoj/utils/constants.py +++ b/src/khoj/utils/constants.py @@ -3,6 +3,7 @@ from pathlib import Path app_root_directory = Path(__file__).parent.parent.parent web_directory = app_root_directory / "khoj/interface/web/" next_js_directory = app_root_directory / "khoj/interface/built/" +pypi_static_directory = app_root_directory / "khoj/interface/compiled/" empty_escape_sequences = "\n|\r|\t| " app_env_filepath = "~/.khoj/env" telemetry_server = "https://khoj.beta.haletic.com/v1/telemetry"