Clean up rewrite-local-links for insights (#34880)
This commit is contained in:
@@ -40,7 +40,6 @@ export const oldEnterprisePath =
|
||||
/\/([a-z]{2}\/)?(enterprise\/)?(\S+?@(\S+?\/))?(\d.\d+\/)?(user[/$])?/
|
||||
// new versioning format patterns
|
||||
export const adminProduct = /\/admin(\/|$|\?|#)/
|
||||
export const insightsProduct = /\/insights(\/|$|\?|#)/
|
||||
export const enterpriseServer = /\/enterprise-server@/
|
||||
export const getEnterpriseServerNumber = /enterprise-server@(\d+\.\d+)/
|
||||
|
||||
@@ -71,7 +70,6 @@ export default {
|
||||
enterpriseNoVersion,
|
||||
oldEnterprisePath,
|
||||
adminProduct,
|
||||
insightsProduct,
|
||||
enterpriseServer,
|
||||
getEnterpriseServerNumber,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user