Skip to content

Commit 8d2496b

Browse files
committed
fix(code-quality): fix favicon path issue in deep routes
Relative paths caused favicon to fail loading in deep routes such as /code-quality/code/detail when a base path was configured. This commit updates the paths to ensure proper loading across all routes.
1 parent 321fcdd commit 8d2496b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fundamentals/code-quality/.vitepress/shared.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const shared = defineConfig({
1919
{
2020
rel: "icon",
2121
type: "image/x-icon",
22-
href: "images/favicon.ico"
22+
href: "/code-quality/images/favicon.ico"
2323
}
2424
],
2525
["link", { rel: "manifest", href: "images/site.webmanifest" }],

0 commit comments

Comments
 (0)