We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3de5c74 commit 408fcdfCopy full SHA for 408fcdf
1 file changed
lib/redirects/get-old-paths-from-permalink.js
@@ -53,10 +53,6 @@ module.exports = function getOldPathsFromPath (currentPath, languageCode, curren
53
.replace('/user/', '/'))
54
}
55
56
- // create old path /enterprise/foo from current path /enterprise/latest/user/foo
57
- oldPaths.add(currentPath
58
- .replace(`/enterprise/${latest}/user/`, '/enterprise/'))
59
-
60
// ------ END LEGACY VERSION FORMAT REPLACEMENTS ------//
61
62
// ------ BEGIN MODERN VERSION FORMAT REPLACEMENTS ------//
0 commit comments