Fix clusterUrl param detection
This commit is contained in:
parent
e47b178d29
commit
5cf323f9f5
|
@ -18,7 +18,7 @@ export function findGetParameter(parameterName: string): string | null {
|
||||||
.split("&")
|
.split("&")
|
||||||
.forEach(function(item) {
|
.forEach(function(item) {
|
||||||
tmp = item.split("=");
|
tmp = item.split("=");
|
||||||
if (tmp[0].toLowerCase() === parameterName) {
|
if (tmp[0].toLowerCase() === parameterName.toLowerCase()) {
|
||||||
if (tmp.length === 2) {
|
if (tmp.length === 2) {
|
||||||
result = decodeURIComponent(tmp[1]);
|
result = decodeURIComponent(tmp[1]);
|
||||||
} else if (tmp.length === 1) {
|
} else if (tmp.length === 1) {
|
||||||
|
|
Loading…
Reference in New Issue