implement serverside RPC infrastructure

This commit is contained in:
ansuz
2017-03-10 18:03:15 +01:00
parent 81027b4200
commit 612a00b484
4 changed files with 90 additions and 11 deletions

View File

@@ -130,6 +130,13 @@ module.exports = {
*/
openFileLimit: 2048,
/* Cryptpad's socket server can be extended to respond to RPC calls
* you can configure it to respond to custom RPC calls if you like.
* provide the path to your RPC module here, or `false` if you would
* like to disable the RPC interface completely
*/
rpc: './rpc.js',
/* it is recommended that you serve cryptpad over https
* the filepaths below are used to configure your certificates
*/