Skip to content

Commit

Permalink
Change: make ping under authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamacro committed Feb 21, 2020
1 parent d68339c commit 609869b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub/route/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ func Start(addr string, secret string) {
})

r.Use(cors.Handler)
r.Get("/", hello)
r.Group(func(r chi.Router) {
r.Use(authentication)

r.Get("/", hello)
r.Get("/logs", getLogs)
r.Get("/traffic", traffic)
r.Get("/version", version)
Expand Down

0 comments on commit 609869b

Please sign in to comment.