Add error page + Fix special chars bug

This commit is contained in:
Danny Spina
2023-06-22 16:38:38 +02:00
parent 7051221b1b
commit eefda848a7
3 changed files with 31 additions and 4 deletions

2
dist/index.html vendored
View File

@@ -60,7 +60,7 @@
t = document.querySelector("button"),
c = document.querySelector("input");
t.addEventListener("click", () => {
location.href = e + "?q=" + encodeURI(c.value);
location.href = e + "?q=" + encodeURIComponent(c.value);
});
</script>
</body>