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:
Debanjum Singh Solanky 2023-06-29 14:52:51 -07:00
parent da2de21339
commit d212298573

View file

@ -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',