Skip to content

Commit a947f8e

Browse files
committed
chore: Fixed changelog link
1 parent 4ebebd4 commit a947f8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extension/components/SocialIcons.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import Default from "@astrojs/starlight/components/SocialIcons.astro"
33
import metadata from "../package.json" with { type: "json" }
44
55
const { origin, hostname, pathname } = new URL(metadata.homepage)
6-
const basedir = import.meta.env.PROD ? pathname : "/"
6+
const basedir = import.meta.env.PROD ? pathname : ""
77
88
// It's an example of component customization
99
// https://starlight.astro.build/guides/overriding-components
1010
---
1111

12-
<a href={`${basedir}changelog`} style="text-decoration: none">
12+
<a href={`${basedir}/changelog`} style="text-decoration: none">
1313
<strong>v{metadata.version} (current)</strong>
1414
</a>
1515

0 commit comments

Comments
 (0)