From fa218ff5aae9c2af4ad46ca9b7532e7f4b25be3e Mon Sep 17 00:00:00 2001 From: sabaimran Date: Sun, 2 Jul 2023 16:31:30 -0700 Subject: [PATCH] Fix call to update for Reinitialize button --- src/khoj/interface/web/config.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/interface/web/config.html b/src/khoj/interface/web/config.html index 2e6f6fdd..e6f2982f 100644 --- a/src/khoj/interface/web/config.html +++ b/src/khoj/interface/web/config.html @@ -253,7 +253,7 @@ reinitialize.disabled = true; reinitialize.innerHTML = "Reinitializing..."; const csrfToken = document.cookie.split('; ').find(row => row.startsWith('csrftoken'))?.split('=')[1]; - fetch('/api/reinitialize?&client=web', { + fetch('/api/update?&client=web?force=true', { method: 'GET', headers: { 'Content-Type': 'application/json',