File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ func (h Handler) ServeHTTP(writer http.ResponseWriter, request *http.Request) {
53
53
54
54
log .Println ("request:" , request .Method , request .Host , request .RequestURI )
55
55
56
- writer .Header ().Set ("Ton-Reverse-Proxy" , "TonUtils Reverse Proxy v0.0.4 " )
56
+ writer .Header ().Set ("Ton-Reverse-Proxy" , "Tonutils Reverse Proxy v0.2.0 " )
57
57
h .h .ServeHTTP (writer , request )
58
58
}
59
59
@@ -108,7 +108,6 @@ func main() {
108
108
109
109
proxy := httputil .NewSingleHostReverseProxy (u )
110
110
s := rldphttp .NewServer (ed25519 .NewKeyFromSeed (cfg .PrivateKey ), dhtClient , Handler {proxy })
111
- println ("IP" , cfg .ExternalIP , net .ParseIP (cfg .ExternalIP ).String ())
112
111
s .SetExternalIP (net .ParseIP (cfg .ExternalIP ).To4 ())
113
112
114
113
addr , err := rldphttp .SerializeADNLAddress (s .Address ())
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/mdp/qrterminal/v3 v3.0.0
7
7
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3
8
- github.com/xssnick/tonutils-go v1.5.3-0.20230224103525-a740f2b2aa76
8
+ github.com/xssnick/tonutils-go v1.7.0
9
9
)
10
10
11
11
require (
Original file line number Diff line number Diff line change @@ -59,6 +59,12 @@ github.com/xssnick/tonutils-go v1.5.3-0.20230220100828-dbce647061b4 h1:xptXTCkdt
59
59
github.com/xssnick/tonutils-go v1.5.3-0.20230220100828-dbce647061b4 /go.mod h1:wH8ldhLueyfXW15r3MyaIq9YzA+8bzvL6UMU2BLp08g =
60
60
github.com/xssnick/tonutils-go v1.5.3-0.20230224103525-a740f2b2aa76 h1:6W7QanatmrKV4JvoBndRC97VS8k4HKzB1io/RW3oMcM =
61
61
github.com/xssnick/tonutils-go v1.5.3-0.20230224103525-a740f2b2aa76 /go.mod h1:wH8ldhLueyfXW15r3MyaIq9YzA+8bzvL6UMU2BLp08g =
62
+ github.com/xssnick/tonutils-go v1.6.2 h1:K8Kp2pQ9n8i+73gCepcdf0GJnTK826ZxGWjQk4l0i4I =
63
+ github.com/xssnick/tonutils-go v1.6.2 /go.mod h1:wH8ldhLueyfXW15r3MyaIq9YzA+8bzvL6UMU2BLp08g =
64
+ github.com/xssnick/tonutils-go v1.6.3-0.20230423122435-b62f87f2b31f h1:tTasbzy5XTyWPGh0kY5LBcpcIMinof0aMxrM+qDMxJA =
65
+ github.com/xssnick/tonutils-go v1.6.3-0.20230423122435-b62f87f2b31f /go.mod h1:wH8ldhLueyfXW15r3MyaIq9YzA+8bzvL6UMU2BLp08g =
66
+ github.com/xssnick/tonutils-go v1.7.0 h1:Zhmupzicy3Hf8afCnhYj+ev9g+pR9nGc18a6fLd0NiI =
67
+ github.com/xssnick/tonutils-go v1.7.0 /go.mod h1:wH8ldhLueyfXW15r3MyaIq9YzA+8bzvL6UMU2BLp08g =
62
68
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064 h1:S25/rfnfsMVgORT4/J61MJ7rdyseOZOyvLIrZEZ7s6s =
63
69
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064 /go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4 =
64
70
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223 /go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY =
You can’t perform that action at this time.
0 commit comments