diff --git a/lib/documents.ts b/lib/documents.ts index 9ce3492..6e3bd85 100644 --- a/lib/documents.ts +++ b/lib/documents.ts @@ -29,7 +29,7 @@ export async function getDocuments(): Promise { } export async function getDocument(name: string): Promise { - const response = await fetch(SILVERBULLET_SERVER + name); + const response = await fetch(SILVERBULLET_SERVER + "/" + name); return await response.text(); }