Fix: unescape proxy name in /proixes

This commit is contained in:
Dreamacro
2018-10-27 12:36:33 +08:00
parent 990bba4a05
commit e12d46f619
2 changed files with 26 additions and 6 deletions

View File

@ -100,6 +100,12 @@ func authentication(next http.Handler) http.Handler {
return http.HandlerFunc(fn)
}
type contextKey string
func (c contextKey) String() string {
return "clash context key " + string(c)
}
func traffic(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)