Files: 2cc03a6a37da12941e8a3db0673988b37da61bf7 / index.js
372 bytesRaw
1 | var SecretStack = require('secret-stack') |
2 | |
3 | var SSB = require('ssb-db') |
4 | |
5 | //create a sbot with default caps. these can be overridden again when you call create. |
6 | function createSsbServer () { |
7 | return SecretStack({ caps: require('./caps') }).use(SSB) |
8 | } |
9 | module.exports = createSsbServer() |
10 | |
11 | //this isn't really needed anymore. |
12 | module.exports.createSsbServer = createSsbServer |
13 | |
14 |
Built with git-ssb-web