mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
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
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user