hotfix: fixed influxdb url js

pull/5157/head
Scott Anderson 2023-09-28 08:35:57 -06:00
parent 237b01877b
commit aba02566ad
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function context() {
return "dedicated"
} else if (/\/influxdb\/clustered/.test(window.location.pathname)) {
return "clustered"
} else if (/\/(enterprise_|influxdb).*\/v[1-2]\.[0-9]{1,2}\//.test(window.location.pathname)) {
} else if (/\/(enterprise_|influxdb).*\/v[1-2]\//.test(window.location.pathname)) {
return "oss/enterprise"
} else {
return "other"