зеркало из https://github.com/github/docs.git
Remove an old redirect that no one has used in a long time (#17868)
This commit is contained in:
Родитель
3de5c74cc7
Коммит
408fcdf4fd
|
@ -53,10 +53,6 @@ module.exports = function getOldPathsFromPath (currentPath, languageCode, curren
|
|||
.replace('/user/', '/'))
|
||||
}
|
||||
|
||||
// create old path /enterprise/foo from current path /enterprise/latest/user/foo
|
||||
oldPaths.add(currentPath
|
||||
.replace(`/enterprise/${latest}/user/`, '/enterprise/'))
|
||||
|
||||
// ------ END LEGACY VERSION FORMAT REPLACEMENTS ------//
|
||||
|
||||
// ------ BEGIN MODERN VERSION FORMAT REPLACEMENTS ------//
|
||||
|
|
Загрузка…
Ссылка в новой задаче