Make BigfileUploadInit merger sites compatible
This commit is contained in:
parent
e8f049a765
commit
99e5af67b7
2 changed files with 10 additions and 5 deletions
|
@ -142,12 +142,12 @@ class UiWebsocketPlugin(object):
|
|||
"piece_size": piece_size,
|
||||
"piecemap": inner_path + ".piecemap.msgpack"
|
||||
}
|
||||
self.response(to, {
|
||||
return {
|
||||
"url": "/ZeroNet-Internal/BigfileUpload?upload_nonce=" + nonce,
|
||||
"pice_size": piece_size,
|
||||
"inner_path": inner_path,
|
||||
"file_relative_path": file_relative_path
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@PluginManager.registerTo("ContentManager")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue