Fix clusterUrl param detection

This commit is contained in:
Justin Starry 2020-04-08 20:54:04 +08:00 committed by Michael Vines
parent e47b178d29
commit 5cf323f9f5
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export function findGetParameter(parameterName: string): string | null {
.split("&")
.forEach(function(item) {
tmp = item.split("=");
if (tmp[0].toLowerCase() === parameterName) {
if (tmp[0].toLowerCase() === parameterName.toLowerCase()) {
if (tmp.length === 2) {
result = decodeURIComponent(tmp[1]);
} else if (tmp.length === 1) {