mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 13:19:16 +00:00
Use patch in place of put in the indexer API call, ensure that files are not being required in the indexer path
This commit is contained in:
committed by
Debanjum Singh Solanky
parent
ffbf57292c
commit
4a7efdc552
@@ -544,7 +544,7 @@ export default function SettingsView() {
|
||||
const syncContent = async (type: string) => {
|
||||
try {
|
||||
const response = await fetch(`/api/content?t=${type}`, {
|
||||
method: 'PUT',
|
||||
method: 'PATCH',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user