summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/http.go b/http.go
index 8bb74b9..a6092a2 100644
--- a/http.go
+++ b/http.go
@@ -57,6 +57,11 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
return
}
+ if route == "/create" {
+ create(w, r)
+ return
+ }
+
// toggle poll logging
if route == "/poll" {
if POLL.Get() {