mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-12-29 02:55:40 +00:00
update default paths
This commit is contained in:
parent
14ea730853
commit
cae7a9d13a
@ -13,7 +13,7 @@ elif len(sys.argv) == 2:
|
|||||||
sockaddr = sys.argv[1]
|
sockaddr = sys.argv[1]
|
||||||
else:
|
else:
|
||||||
socktype = socket.AF_UNIX
|
socktype = socket.AF_UNIX
|
||||||
sockaddr = "/var/run/yggdrasil.sock"
|
sockaddr = "/var/run/yggdrasil/yggdrasil.sock"
|
||||||
|
|
||||||
def getPeersRequest(key):
|
def getPeersRequest(key):
|
||||||
return '{{"keepalive":true, "request":"debug_remoteGetPeers", "arguments": {{"key":"{}"}}}}'.format(key)
|
return '{{"keepalive":true, "request":"debug_remoteGetPeers", "arguments": {{"key":"{}"}}}}'.format(key)
|
||||||
|
@ -13,7 +13,7 @@ elif len(sys.argv) == 2:
|
|||||||
sockaddr = sys.argv[1]
|
sockaddr = sys.argv[1]
|
||||||
else:
|
else:
|
||||||
socktype = socket.AF_UNIX
|
socktype = socket.AF_UNIX
|
||||||
sockaddr = "/var/run/yggdrasil.sock"
|
sockaddr = "/var/run/yggdrasil/yggdrasil.sock"
|
||||||
|
|
||||||
def doRequest(req):
|
def doRequest(req):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user