We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1b6888 commit 5a5cf8eCopy full SHA for 5a5cf8e
cmd/server/main.go
@@ -23,7 +23,7 @@ func init(){
23
func main() {
24
mux := http.NewServeMux()
25
26
- mux.Handle("/", middlewares.AuthMiddleware(http.HandlerFunc(handlers.HomeHandler)))
+ mux.Handle("/health", middlewares.AuthMiddleware(http.HandlerFunc(handlers.HealthHandler)))
27
mux.Handle("/stats",middlewares.AuthMiddleware(http.HandlerFunc(handlers.StatsHandler)))
28
mux.Handle("/work",http.HandlerFunc(handlers.WorkHandler))
29
mux.Handle("/upload", middlewares.MaxBodySize(uploadsMaxBytes)(http.HandlerFunc(handlers.UploadHandler)))
0 commit comments