mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 22:58:25 +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,
|
"per-session-rate": sessionLimitBps,
|
||||||
"global-rate": globalLimitBps,
|
"global-rate": globalLimitBps,
|
||||||
"pools": defaultPoolAddrs,
|
"pools": defaultPoolAddrs,
|
||||||
|
"provided-by": providedBy,
|
||||||
}
|
}
|
||||||
|
|
||||||
bs, err := json.MarshalIndent(status, "", " ")
|
bs, err := json.MarshalIndent(status, "", " ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user