mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Fix call to update for Reinitialize button
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user