mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-26 02:05:38 +08:00
Fix debug listener
This commit is contained in:
parent
e58b549d0f
commit
af58e3bec0
|
@ -46,7 +46,7 @@ func applyDebugListenOption(options option.DebugOptions) {
|
|||
|
||||
encoder := json.NewEncoder(writer)
|
||||
encoder.SetIndent("", " ")
|
||||
encoder.Encode(memObject)
|
||||
encoder.Encode(&memObject)
|
||||
})
|
||||
r.Route("/pprof", func(r chi.Router) {
|
||||
r.HandleFunc("/", func(writer http.ResponseWriter, request *http.Request) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user