mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Expose provided by in status endpoint
This commit is contained in:
parent
5c8a28d717
commit
ce1a5cd2ce
@ -52,6 +52,7 @@ func getStatus(w http.ResponseWriter, r *http.Request) {
|
||||
"per-session-rate": sessionLimitBps,
|
||||
"global-rate": globalLimitBps,
|
||||
"pools": defaultPoolAddrs,
|
||||
"provided-by": providedBy,
|
||||
}
|
||||
|
||||
bs, err := json.MarshalIndent(status, "", " ")
|
||||
|
Loading…
Reference in New Issue
Block a user