diff --git a/src/lib/share.ts b/src/lib/share.ts index ae91f062..3f44b306 100644 --- a/src/lib/share.ts +++ b/src/lib/share.ts @@ -23,7 +23,7 @@ export const useBookShareUrl = () => { }) => { let url = window.location.origin; - if (locale !== routing.defaultLocale) url = pathLocale + url; + if (locale !== routing.defaultLocale) url = `${url}${pathLocale}/`; url += navigation.books.pageReader(slug, pageIndex + 1); if (versionId) url += `?versionId=${versionId}`;