@@ -3,7 +3,7 @@ package main
import (
"flag"
"fmt"
"io/ioutil"
"io"
"net/http"
"os"
"runtime"
@@ -162,7 +162,7 @@ func checkUpdate() {
return
}
// 读取资源数据 body: []byte
body, err := ioutil.ReadAll(res.Body)
body, err := io.ReadAll(res.Body)
if err != nil {
The note is not visible to the blocked user.