chore: bump wireguard-go version

This commit is contained in:
Shengjing Zhu
2022-03-11 12:19:29 +08:00
parent eb00d070da
commit 65ea56b7ee
5 changed files with 48 additions and 31 deletions

View File

@@ -53,7 +53,7 @@ func statsHandler(next http.Handler, dev *device.Device) http.Handler {
}
resp, _ := json.MarshalIndent(stats, "", " ")
rw.Header().Set("Content-Type", "application/json")
rw.Write(append(resp, '\n'))
_, _ = rw.Write(append(resp, '\n'))
}
})
}