diff options
-rw-r--r-- | package.json | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | server.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index 3226e19..e85233e 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "patchfoo", "version": "1.2.0", "description": "plain ssb web ui", + "bin": "server.js", "dependencies": { "asyncmemo": "^1.1.0", "base64-url": "^2.0.0", diff --git a/server.js b/server.js index 66f503f..4a67bcd 100644..100755 --- a/server.js +++ b/server.js @@ -1,3 +1,4 @@ +#!/usr/bin/env node require('ssb-client')(function (err, sbot, config) { if (err) throw err require('.').init(sbot, config) |