diff --git a/static/js/app.js b/static/js/app.js index 0b36817..ee2647e 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -96,7 +96,7 @@ function explainQuery(query, cb) { apiCall("post", "/explain", { quer function disconnect(cb) { apiCall("post", "/disconnect", {}, cb); } function encodeQuery(query) { - return window.btoa(query).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "."); + return window.btoa(query).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "."); } function buildSchemaSection(name, objects) {