1
0
mirror of synced 2025-12-21 10:57:10 -05:00

Clean up rewrite-local-links for insights (#34880)

This commit is contained in:
Peter Bengtsson
2023-02-17 16:30:33 -05:00
committed by GitHub
parent 892a4e37d9
commit 860a7cebda
2 changed files with 0 additions and 7 deletions

View File

@@ -148,11 +148,6 @@ function getNewHref(node, languageCode, version) {
if (patterns.adminProduct.test(hrefWithoutLang) && version === nonEnterpriseDefaultVersion) {
version = `enterprise-server@${latest}`
}
// insights links on dotcom always point to Enterprise
if (patterns.insightsProduct.test(hrefWithoutLang) && version === nonEnterpriseDefaultVersion) {
version = `enterprise-server@${latest}`
}
// ------ END ONE-OFF OVERRIDES ------//
// update the version in the link