Skip to content
This repository was archived by the owner on Dec 31, 2022. It is now read-only.

Commit d8b9faa

Browse files
committed
避开80端口
1 parent 816c9aa commit d8b9faa

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/BaiMeow/FishBot2
33
go 1.16
44

55
require (
6-
github.com/BaiMeow/msauth v0.0.0-20210912123815-8dad139b8658
6+
github.com/BaiMeow/msauth v0.0.0-20211225042319-2589fe15df92
77
github.com/Tnze/go-mc v1.17.2-0.20211212072321-4e7db1e12235
88
github.com/google/uuid v1.3.0
99
github.com/iancoleman/strcase v0.2.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
3737
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
3838
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
3939
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
40-
github.com/BaiMeow/msauth v0.0.0-20210912123815-8dad139b8658 h1:nBNOhUa62Lh7I/PbToKtrBkZyGksaeccQyPN5ZMCQDA=
41-
github.com/BaiMeow/msauth v0.0.0-20210912123815-8dad139b8658/go.mod h1:8aaR4Tp6OvyLjGc8zn5tcWZ3bS52LkDYgDmYEQMw2MY=
40+
github.com/BaiMeow/msauth v0.0.0-20211225042319-2589fe15df92 h1:Cot6Q/ani/FfqOHGhT7BuFN9TfOEsXuzRjq+frztW5Q=
41+
github.com/BaiMeow/msauth v0.0.0-20211225042319-2589fe15df92/go.mod h1:8aaR4Tp6OvyLjGc8zn5tcWZ3bS52LkDYgDmYEQMw2MY=
4242
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
4343
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
4444
github.com/Tnze/go-mc v1.17.2-0.20211212072321-4e7db1e12235 h1:UMrL+PAPVZTFNo+L2n5uMEVdxjQ3YtQnfcdA02qe4GQ=

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ func main() {
7878
c.Auth.AsTk = resp.AccessToken()
7979
case "microsoft":
8080
msauth.SetClient("67e646fb-20f3-4595-9830-56773a07637d", "")
81+
msauth.SetRedirectURL("http://127.0.0.1:25595")
8182
profile, astk, err := msauth.Login()
8283
log.Println("验证成功")
8384
if err != nil {

0 commit comments

Comments
 (0)