aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-30 01:59:06 -0800
committerFChannel <=>2021-01-30 01:59:06 -0800
commit99fcc761a0fe1141a997d4d8709dd2bca18efcdb (patch)
tree33d5bff8f74faba270b23f0aa9d1f5ca942c266b /main.go
parentf0afe325423011a8cb4eed5192375fcae5312da3 (diff)
removed get captcha url
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.go b/main.go
index 00884ef..dfb65a2 100644
--- a/main.go
+++ b/main.go
@@ -682,10 +682,6 @@ func main() {
}
})
- http.HandleFunc("/getcaptcha", func(w http.ResponseWriter, r *http.Request){
- w.Write([]byte(GetRandomCaptcha(db)))
- })
-
http.HandleFunc("/delete", func(w http.ResponseWriter, r *http.Request){
id := r.URL.Query().Get("id")
board := r.URL.Query().Get("board")