summaryrefslogtreecommitdiff
path: root/app/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.go')
-rw-r--r--app/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.go b/app/main.go
index 4c3f9f7..6190b1a 100644
--- a/app/main.go
+++ b/app/main.go
@@ -47,12 +47,12 @@ func main() {
r.HandleFunc("/login", LoginHandler).Methods("POST")
r.HandleFunc("/login", PrintLoginHandler).Methods("GET")
r.HandleFunc("/logout", LogoutHandler)
- r.HandleFunc("/session", SessionHandler)
r.PathPrefix("/static/").Handler(http.StripPrefix("/static/", http.FileServer(http.Dir("./../static"))))
r.HandleFunc("/register", RegisterHandler).Methods("POST")
r.HandleFunc("/register", PrintRegisterHandler).Methods("GET")
r.HandleFunc("/new", AddNewJobHandler).Methods("POST")
r.HandleFunc("/new", PrintNewJobHandler).Methods("GET")
+ r.HandleFunc("/refresh", RefreshAllHandler).Methods("POST")
r.HandleFunc("/jobs", ShowJobHandler)
r.HandleFunc("/admin", AdminHandler)