mirror of
https://github.com/9001/copyparty.git
synced 2025-10-09 10:02:20 -06:00
better fallback
This commit is contained in:
parent
910732e02c
commit
75917b9f7c
|
@ -115,7 +115,7 @@ class HttpCli(object):
|
||||||
try:
|
try:
|
||||||
self.ip = vs[n].strip()
|
self.ip = vs[n].strip()
|
||||||
except:
|
except:
|
||||||
self.ip = vs[-1].strip()
|
self.ip = vs[0].strip()
|
||||||
self.log("rproxy={} oob x-fwd {}".format(self.args.rproxy, v), c=3)
|
self.log("rproxy={} oob x-fwd {}".format(self.args.rproxy, v), c=3)
|
||||||
|
|
||||||
self.log_src = self.conn.set_rproxy(self.ip)
|
self.log_src = self.conn.set_rproxy(self.ip)
|
||||||
|
|
Loading…
Reference in a new issue