This commit is contained in:
parent
f0acdc88ec
commit
5355a5124f
1 changed files with 1 additions and 1 deletions
|
@ -29,5 +29,5 @@ export async function fetchData(): Promise<Data> {
|
|||
|
||||
export function generateContentURL(content: string): string {
|
||||
// return new URL(`/${encodeURIComponent(content)}`, CONTENT_ROOT_URL);
|
||||
return urlJoin(CONTENT_ROOT_URL, encodeURIComponent(content));
|
||||
return urlJoin(CONTENT_ROOT_URL, content);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue