attempt to fix networking issues
This commit is contained in:
@@ -128,6 +128,8 @@ class SyncthingClient:
|
|||||||
"localAnnounceEnabled": False,
|
"localAnnounceEnabled": False,
|
||||||
"relaysEnabled": False,
|
"relaysEnabled": False,
|
||||||
"announceLANAddresses": False,
|
"announceLANAddresses": False,
|
||||||
|
"natEnabled": False,
|
||||||
|
"urAccepted": -1
|
||||||
}
|
}
|
||||||
response = self.patch("/rest/config/options", json.dumps(config_patch))
|
response = self.patch("/rest/config/options", json.dumps(config_patch))
|
||||||
print("Patched syncthing configuration: {0}".format(response.content), flush=True)
|
print("Patched syncthing configuration: {0}".format(response.content), flush=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user