diff --git a/client/src/main/scala/com/v6ak/zbdb/App.scala b/client/src/main/scala/com/v6ak/zbdb/App.scala index a22859d..094d31a 100644 --- a/client/src/main/scala/com/v6ak/zbdb/App.scala +++ b/client/src/main/scala/com/v6ak/zbdb/App.scala @@ -26,7 +26,7 @@ object App { dom.console.log("startTime", startTime.toString) dom.console.log("endTime", endTime.toString) dom.console.log("fileName", fileName) - val params = dom.window.location.search.substring(1).split("&").map{paramString => + val params = dom.window.location.search.drop(1).split("&").map{paramString => paramString.split("=", 2) match { case Array(name, value) => (name, value) case Array(name) => (name, "")