Use the same network for the apps and the file store

This commit is contained in:
yflory
2017-01-06 13:52:53 +01:00
parent 004d4a16fe
commit 1e70af0c16
6 changed files with 32 additions and 16 deletions

View File

@@ -195,7 +195,8 @@ define([
readOnly: readOnly,
crypto: Crypto.createEncryptor(secret.keys),
setMyID: setMyID,
transformFunction: JsonOT.validate
transformFunction: JsonOT.validate,
network: Cryptpad.getNetwork()
};
var canonicalize = function (t) { return t.replace(/\r\n/g, '\n'); };