fix: send X-Sync-mode header to silverbullet
This commit is contained in:
parent
5e4fcfbdaa
commit
09fea14644
@ -30,6 +30,7 @@ export async function getDocuments(): Promise<Document[]> {
|
||||
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user