We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d318e0 commit c3e34a7Copy full SHA for c3e34a7
1 file changed
lib/rewrite-local-links.js
@@ -68,8 +68,8 @@ function getNewHref (link, languageCode, version) {
68
version = nonEnterpriseDefaultVersion
69
}
70
71
- // admin links always point to Enterprise
72
- if (patterns.adminProduct.test(hrefWithoutLang)) {
+ // admin links on dotcom always point to Enterprise
+ if (patterns.adminProduct.test(hrefWithoutLang) && version === nonEnterpriseDefaultVersion) {
73
version = `enterprise-server@${latest}`
74
75
// ------ END ONE-OFF OVERRIDES ------//
0 commit comments