Fix incorrect OOC handler

Fixes #462
This commit is contained in:
Marcos Lilljedahl
2021-04-18 17:39:13 -03:00
parent c0aaf0a3a4
commit 102c998028

View File

@@ -97,7 +97,7 @@ func Register(extend HandlerExtender) {
}) })
r.HandleFunc("/ooc", func(rw http.ResponseWriter, r *http.Request) { r.HandleFunc("/ooc", func(rw http.ResponseWriter, r *http.Request) {
serveAsset(rw, r, "occ.html") serveAsset(rw, r, "ooc.html")
}).Methods("GET") }).Methods("GET")
r.HandleFunc("/503", func(rw http.ResponseWriter, r *http.Request) { r.HandleFunc("/503", func(rw http.ResponseWriter, r *http.Request) {
serveAsset(rw, r, "503.html") serveAsset(rw, r, "503.html")