aboutsummaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-01-30 18:24:49 -0800
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-01-30 18:24:49 -0800
commit7a3b67c49b20c9063a696b8fb7dc00e541855693 (patch)
tree67cbb86265898fa7cc14ebb564c9a9f1ad872221 /server.js
downloadpatchfoo-7a3b67c49b20c9063a696b8fb7dc00e541855693.tar.gz
patchfoo-7a3b67c49b20c9063a696b8fb7dc00e541855693.zip
Init
Diffstat (limited to 'server.js')
-rw-r--r--server.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.js b/server.js
new file mode 100644
index 0000000..66f503f
--- /dev/null
+++ b/server.js
@@ -0,0 +1,4 @@
+require('ssb-client')(function (err, sbot, config) {
+ if (err) throw err
+ require('.').init(sbot, config)
+})