Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 09f57ef5f6 |
3
main.go
3
main.go
@@ -598,6 +598,9 @@ func main() {
|
|||||||
|
|
||||||
srv := &server{st: st, apiToken: token}
|
srv := &server{st: st, apiToken: token}
|
||||||
|
|
||||||
|
//Default Route
|
||||||
|
http.Handle("/", http.RedirectHandler("/v1/manifest", http.StatusSeeOther))
|
||||||
|
|
||||||
http.HandleFunc("/healthz", srv.handleHealth)
|
http.HandleFunc("/healthz", srv.handleHealth)
|
||||||
http.HandleFunc("/admin", srv.handleAdmin)
|
http.HandleFunc("/admin", srv.handleAdmin)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user