From d212298573291794a509b9fc4d5968170c6d44b3 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Thu, 29 Jun 2023 14:52:51 -0700 Subject: [PATCH] Make Configure button on web interface incrementally update by default We should add a way to force index everything. But force indexing should not be the default when user is just trying update content to index --- 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 b7f6e48e..01718fdf 100644 --- a/src/khoj/interface/web/config.html +++ b/src/khoj/interface/web/config.html @@ -99,7 +99,7 @@ configure.disabled = true; configure.innerHTML = "Configuring..."; const csrfToken = document.cookie.split('; ').find(row => row.startsWith('csrftoken'))?.split('=')[1]; - fetch('/api/update?force=true&client=web', { + fetch('/api/update?&client=web', { method: 'GET', headers: { 'Content-Type': 'application/json',