Chore: merge branch 'with-tun' into plus-pro
This commit is contained in:
@ -71,6 +71,7 @@ func Start(addr string, secret string) {
|
||||
r.Mount("/rules", ruleRouter())
|
||||
r.Mount("/connections", connectionRouter())
|
||||
r.Mount("/providers/proxies", proxyProviderRouter())
|
||||
r.Mount("/cache", cacheRouter())
|
||||
})
|
||||
|
||||
if uiPath != "" {
|
||||
@ -130,7 +131,7 @@ func authentication(next http.Handler) http.Handler {
|
||||
}
|
||||
|
||||
func hello(w http.ResponseWriter, r *http.Request) {
|
||||
render.JSON(w, r, render.M{"hello": "clash"})
|
||||
render.JSON(w, r, render.M{"hello": "clash plus pro"})
|
||||
}
|
||||
|
||||
func traffic(w http.ResponseWriter, r *http.Request) {
|
||||
|
Reference in New Issue
Block a user