Default to enterprise-cloud@latest for admin links (#34983)
This commit is contained in:
@@ -144,9 +144,9 @@ function getNewHref(node, languageCode, version) {
|
||||
version = nonEnterpriseDefaultVersion
|
||||
}
|
||||
|
||||
// admin links on dotcom always point to Enterprise
|
||||
// admin links on dotcom always point to Enterprise Cloud
|
||||
if (patterns.adminProduct.test(hrefWithoutLang) && version === nonEnterpriseDefaultVersion) {
|
||||
version = `enterprise-server@${latest}`
|
||||
version = 'enterprise-cloud@latest'
|
||||
}
|
||||
// ------ END ONE-OFF OVERRIDES ------//
|
||||
|
||||
|
||||
Reference in New Issue
Block a user