Calculate and send diff on startup commands
This commit is contained in:
parent
ab1aaea7f5
commit
7c3e470ea7
2 changed files with 6 additions and 5 deletions
|
@ -372,7 +372,7 @@ class FileRequest(object):
|
|||
self.response({"error": "Only local host allowed"})
|
||||
|
||||
site = self.sites.get(params["site"])
|
||||
num = site.publish(limit=8, inner_path=params.get("inner_path", "content.json"))
|
||||
num = site.publish(limit=8, inner_path=params.get("inner_path", "content.json"), diffs=params.get("diffs", {}))
|
||||
|
||||
self.response({"ok": "Successfuly published to %s peers" % num})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue