Change: make ping under authentication

This commit is contained in:
gVisor bot 2020-02-21 18:00:19 +08:00
parent 1a8708d5e2
commit d714783fea

View File

@ -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)