mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 07:13:17 +08:00
Change: make ping under authentication
This commit is contained in:
parent
d68339cea7
commit
609869bf5a
@ -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 New Issue
Block a user