Compare commits

...

2 Commits

Author SHA1 Message Date
sjlleo
81d5da467c Change API 2022-04-25 09:52:40 +08:00
Vincent Young
b695234015 Update build.yml 2022-04-24 11:39:35 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with: # 将下述可执行文件 release 上去
draft: false # Release草稿
files: |
dist/BetterTrace_darwin_amd64
dist/BetterTrace_darwin_arm64

View File

@@ -94,7 +94,7 @@ func flagApply() string{
}
func getIPGeo(ip string, c chan IPGeoData) {
resp, err := http.Get("https://leo.moe/api.php?ip=" + ip)
resp, err := http.Get("https://api.leo.moe/ip/?ip=" + ip)
if err != nil {
fmt.Println(err)
}