diff --git a/web/index.html b/web/index.html index c3b70c3..75a13b3 100644 --- a/web/index.html +++ b/web/index.html @@ -67,8 +67,8 @@ ga('send', 'event', 'user-input', 'success', line); } - const url = "/?q=" + encodeURIComponent(line) - history.replaceState(null, "", url) + var url = "/?q=" + encodeURIComponent(line); + history.replaceState(null, "", url); return res.msg; }