Skip to content

Commit 1f9a504

Browse files
committed
avoid double-prefix on link rewrite
1 parent 2d076d9 commit 1f9a504

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/templates/doc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ const DocTemplate = ({ data, pageContext }) => {
301301
const url = versionMatch
302302
? versionMatch.url
303303
: `/${product}/${version}/`;
304-
return `href="${withPrefix(url)}"`;
304+
return `href="${url}"`;
305305
},
306306
)
307307
.replace(

0 commit comments

Comments
 (0)