This commit is contained in:
parent
23a094c36e
commit
62bdf3f1d9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue