Change: make ping under authentication
This commit is contained in:
parent
d68339cea7
commit
609869bf5a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue