aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 29b93fd..1942135 100644
--- a/main.go
+++ b/main.go
@@ -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"))
}
})