From 5cf323f9f5dc0d85e2cbf798ecc3f7b668ee0064 Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Wed, 8 Apr 2020 20:54:04 +0800 Subject: [PATCH] Fix clusterUrl param detection --- explorer/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explorer/src/utils.ts b/explorer/src/utils.ts index 3a4e9fa9d4..001270f7bf 100644 --- a/explorer/src/utils.ts +++ b/explorer/src/utils.ts @@ -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) {