Browse Source

I'm pretty curious about how bit the result is

master
SeraphJACK 3 years ago
parent
commit
3eabcb3ea3
Signed by: SeraphJACK <seraphjack@outlook.com> GPG Key ID: 14162B46567AB06F
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      http/submit.go

+ 1
- 1
http/submit.go View File

@@ -31,7 +31,7 @@ func handleSubmit(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(200)
_, _ = fmt.Fprint(w, "success")
storage.MarkVoted(getIp(r))
log.Printf("Submit from %s\n", getIp(r))
log.Printf("Submit from %s, challenge result: %s\n", getIp(r), challenge)
} else {
w.WriteHeader(400)
_, _ = fmt.Fprint(w, "vote not correct")


Loading…
Cancel
Save