mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 10:01:30 +00: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 a new issue