Skip to content

Commit 31d439e

Browse files
Update website/src/components/templates/BaseTemplate.tsx
Co-authored-by: Y.D.X. <[email protected]>
1 parent cc243b8 commit 31d439e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/components/templates/BaseTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const BaseTemplate: FC<BaseTemplateProps> = ({
4545
const outline = page.outline;
4646
const translationStatus = getTranslationStatus(route);
4747
const absoluteRouteUrl = new URL(route, originUrl).toString();
48-
const faviconUrl = new URL(`${basePath}/favicon.png`, originUrl).toString();
48+
const faviconUrl = new URL(joinPath(basePath, "/favicon.png"), originUrl).toString();
4949
const typstOfficialRouteUrl = joinPath(
5050
typstOfficialDocsUrl,
5151
removeBasePath(basePath, route),

0 commit comments

Comments
 (0)