Skip to content

Commit 609869b

Browse files
committed
Change: make ping under authentication
1 parent d68339c commit 609869b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/route/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ func Start(addr string, secret string) {
5757
})
5858

5959
r.Use(cors.Handler)
60-
r.Get("/", hello)
6160
r.Group(func(r chi.Router) {
6261
r.Use(authentication)
6362

63+
r.Get("/", hello)
6464
r.Get("/logs", getLogs)
6565
r.Get("/traffic", traffic)
6666
r.Get("/version", version)

0 commit comments

Comments
 (0)