We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
precompile
1 parent 7db4a3c commit b1f1e1cCopy full SHA for b1f1e1c
lib/redirects/precompile.js
@@ -85,7 +85,7 @@ module.exports = async function precompileRedirects (pages) {
85
// add a veriation like `/free-pro-team@latest/v3/gists/comments`;
86
// again, we need to do this because all links in content get rewritten
87
if (!developerRoute.startsWith('/enterprise/')) {
88
- const developerRouteWithVersion = path.join(nonEnterpriseDefaultVersion, developerRoute)
+ const developerRouteWithVersion = slash(path.join(nonEnterpriseDefaultVersion, developerRoute))
89
const developerRouteWithVersionAndLanguage = `/en/${developerRouteWithVersion}`
90
allRedirects[developerRouteWithVersion] = newPath
91
allRedirects[developerRouteWithVersionAndLanguage] = newPath
0 commit comments