diff --git a/src/khoj/interface/web/content_type_github_input.html b/src/khoj/interface/web/content_type_github_input.html index 27263532..edbad3e4 100644 --- a/src/khoj/interface/web/content_type_github_input.html +++ b/src/khoj/interface/web/content_type_github_input.html @@ -35,8 +35,6 @@ {% endfor %} -

You probably don't need to edit these.

-
diff --git a/src/khoj/interface/web/content_type_input.html b/src/khoj/interface/web/content_type_input.html index 17566149..9403cbdb 100644 --- a/src/khoj/interface/web/content_type_input.html +++ b/src/khoj/interface/web/content_type_input.html @@ -44,8 +44,6 @@
-

You probably don't need to edit these.

-
diff --git a/src/khoj/routers/web_client.py b/src/khoj/routers/web_client.py index 8fb8324a..de206dad 100644 --- a/src/khoj/routers/web_client.py +++ b/src/khoj/routers/web_client.py @@ -38,7 +38,7 @@ if not state.demo: search_type=None, processor=None, ) - current_config = state.config if state.config else json.loads(default_full_config.json()) + current_config = state.config or json.loads(default_full_config.json()) return templates.TemplateResponse("config.html", context={"request": request, "current_config": current_config}) @web_client.get("/config/content_type/github", response_class=HTMLResponse)