diff options
author | FChannel <> | 2021-05-31 03:56:00 -0700 |
---|---|---|
committer | FChannel <> | 2021-05-31 03:56:00 -0700 |
commit | b7ce42c8a9a6f458cc1537f6aeefe0b5f7ab150c (patch) | |
tree | 568e4972244ce04b50397162de1f6684a6ce18cf | |
parent | df34b557bb7894b82bd08dc9430d5fb76b35c3ff (diff) |
you should not be able to see verify page without modkey
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -703,8 +703,8 @@ func main() { http.Redirect(w, r, "/", http.StatusSeeOther) } } else { - t := template.Must(template.ParseFiles("./static/verify.html")) - t.Execute(w, "") + w.WriteHeader(http.StatusBadRequest) + w.Write([]byte("404 no path")) } }) |