diff --git a/src/client/app/utils.ts b/src/client/app/utils.ts index f6438cc17a83..861c39074c9e 100644 --- a/src/client/app/utils.ts +++ b/src/client/app/utils.ts @@ -11,6 +11,7 @@ export function joinPath(base: string, path: string): string { } export function withBase(path: string) { + if (/^(https?:)?\/\//.test(path)) return path return joinPath(siteDataRef.value.base, path) }