aboutsummaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-06-12 10:01:30 -0400
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-06-12 10:01:30 -0400
commite8c2eb2a9f3c9a25df5ee189740641ff96fc6ba7 (patch)
treedaa03c609dda2140e3f8cf55b3b143e05bec691a /server.js
parent7f37b29387160a3cf49fe2cf7e054539fe1ae827 (diff)
downloadpatchfoo-e8c2eb2a9f3c9a25df5ee189740641ff96fc6ba7.tar.gz
patchfoo-e8c2eb2a9f3c9a25df5ee189740641ff96fc6ba7.zip
Use upstream ssb-client and ssb-mentions
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)
+})