summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 23e15b4..d73587b 100644
--- a/main.go
+++ b/main.go
@@ -33,6 +33,7 @@ func main() {
r := mux.NewRouter()
r.HandleFunc("/", IndexHandler)
+ r.HandleFunc("/register", RegisterHandler)
r.HandleFunc("/create", CreateNewEntryHandler).Methods("POST")
r.PathPrefix("/static/").Handler(http.StripPrefix("/static/", http.FileServer(http.Dir("./static"))))