Fix content URL gen
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dominic Grimm 2022-08-03 09:40:35 +02:00
parent 23a094c36e
commit 62bdf3f1d9
1 changed files with 1 additions and 1 deletions

View File

@ -26,5 +26,5 @@ export async function fetchData(): Promise<Data> {
}
export function generateContentURL(content: string): URL {
return new URL(encodeURIComponent(content), CONTENT_ROOT_URL);
return new URL(`/${encodeURIComponent(content)}`, CONTENT_ROOT_URL);
}