hotfix: fixed influxdb url js
parent
237b01877b
commit
aba02566ad
|
@ -22,7 +22,7 @@ function context() {
|
||||||
return "dedicated"
|
return "dedicated"
|
||||||
} else if (/\/influxdb\/clustered/.test(window.location.pathname)) {
|
} else if (/\/influxdb\/clustered/.test(window.location.pathname)) {
|
||||||
return "clustered"
|
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"
|
return "oss/enterprise"
|
||||||
} else {
|
} else {
|
||||||
return "other"
|
return "other"
|
||||||
|
|
Loading…
Reference in New Issue