diff --git a/dict/main.go b/dict/main.go index 08a754b..8b4328b 100644 --- a/dict/main.go +++ b/dict/main.go @@ -179,7 +179,7 @@ func main() { query := r.FormValue("q") return initSearchTemplateData(Search(query)) }, - []string{http.MethodGet, http.MethodPost}, + []string{http.MethodGet}, )) r.Handle("/", http.FileServer(http.Dir("static"))) log.Fatal(http.ListenAndServe(":3334", r)) diff --git a/dict/templates/index.html b/dict/templates/index.html index a9232e8..ca01362 100644 --- a/dict/templates/index.html +++ b/dict/templates/index.html @@ -18,7 +18,7 @@