From ddfbf31bc8f68f0566a61944223cdfb9f827aaf0 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sat, 24 Feb 2024 06:47:11 +0530 Subject: [PATCH 1/4] Append version query param to web asset URLs to bypass browser cache Ensure latest assets are loaded when khoj version is updated --- src/khoj/interface/web/base_config.html | 8 ++++---- src/khoj/interface/web/chat.html | 10 +++++----- .../interface/web/content_source_computer_input.html | 2 +- .../interface/web/content_source_github_input.html | 2 +- .../interface/web/content_source_notion_input.html | 2 +- src/khoj/interface/web/search.html | 12 ++++++------ src/khoj/interface/web/utils.html | 2 +- src/khoj/routers/web_client.py | 8 ++++++++ 8 files changed, 27 insertions(+), 19 deletions(-) diff --git a/src/khoj/interface/web/base_config.html b/src/khoj/interface/web/base_config.html index 4126ad71..5c26e060 100644 --- a/src/khoj/interface/web/base_config.html +++ b/src/khoj/interface/web/base_config.html @@ -3,17 +3,17 @@ - + Khoj - Settings - - + + - +
diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index 8b0635a5..1fda4838 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -4,12 +4,12 @@ Khoj - Chat - - - + + + - - + + - - + + +