From 609869bf5a1d779b0ac6a0caca9ff9ea67b0c40f Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Fri, 21 Feb 2020 18:00:19 +0800 Subject: [PATCH] Change: make ping under authentication --- hub/route/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/route/server.go b/hub/route/server.go index ab4e61c4..7c892657 100644 --- a/hub/route/server.go +++ b/hub/route/server.go @@ -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)