Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
snakem982 committed Dec 20, 2024
1 parent 648b50e commit 1c62a0b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ require (
)

replace (
github.com/metacubex/mihomo => github.com/snakem982/mihomo v1.0.24-moshen
github.com/metacubex/mihomo => github.com/snakem982/mihomo v1.0.25-moshen
github.com/sagernet/sing => github.com/metacubex/sing v0.0.0-20241121030428-33b6ebc52000
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ github.com/sina-ghaderi/rabbitio v0.0.0-20220730151941-9ce26f4f872e h1:ur8uMsPIF
github.com/sina-ghaderi/rabbitio v0.0.0-20220730151941-9ce26f4f872e/go.mod h1:+e5fBW3bpPyo+3uLo513gIUblc03egGjMM0+5GKbzK8=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/snakem982/mihomo v1.0.24-moshen h1:4Bs9KRKYYxVRyewMc0HL9OSz75NXheoKqpmnOnBA6uA=
github.com/snakem982/mihomo v1.0.24-moshen/go.mod h1:VE4V1M2VClnWuDWnG0gPTMiHsTDt4h8LRI1vC5d2ROQ=
github.com/snakem982/mihomo v1.0.25-moshen h1:KXesKBmDsX1XDwOoAgHvh96Y7lM+hWxlsRJbC6ZCvKY=
github.com/snakem982/mihomo v1.0.25-moshen/go.mod h1:VE4V1M2VClnWuDWnG0gPTMiHsTDt4h8LRI1vC5d2ROQ=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
Expand Down
2 changes: 1 addition & 1 deletion main_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func startHttpApi() (addr string) {
secret = tools.String(32)
_ = cache.Put(constant.SecretKey, []byte(secret))
}
addr = route.StartByPandora(secret)
addr = route.StartByPandora(*devFlag, secret)
headers := map[string]string{
"Authorization": fmt.Sprintf("Bearer %s", secret),
}
Expand Down
2 changes: 1 addition & 1 deletion main_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func startHttpApi() (addr string) {
secret = tools.String(32)
_ = cache.Put(constant.SecretKey, []byte(secret))
}
addr = route.StartByPandora(secret)
addr = route.StartByPandora(*devFlag, secret)
headers := map[string]string{
"Authorization": fmt.Sprintf("Bearer %s", secret),
}
Expand Down
2 changes: 1 addition & 1 deletion main_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func startHttpApi() (addr string) {
secret = tools.String(32)
_ = cache.Put(constant.SecretKey, []byte(secret))
}
addr = route.StartByPandora(secret)
addr = route.StartByPandora(*devFlag, secret)
headers := map[string]string{
"Authorization": fmt.Sprintf("Bearer %s", secret),
}
Expand Down

0 comments on commit 1c62a0b

Please sign in to comment.