diff --git a/lib/documents.ts b/lib/documents.ts index a4b0619..03e8958 100644 --- a/lib/documents.ts +++ b/lib/documents.ts @@ -30,6 +30,7 @@ export async function getDocuments(): Promise { const headers = new Headers(); headers.append("Accept", "application/json"); + headers.append("X-Sync-Mode", "true"); log.debug("fetching all documents"); const response = await fetch(`${SILVERBULLET_SERVER}/index.json`, { headers: headers,