diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-10-30 10:21:07 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-10-30 10:21:07 -1000 |
commit | 624ba5a8b2ddd3272e7402ba5f2183c78b3383e2 (patch) | |
tree | de955cadf7f1883472a6e4f3c35145cba16abfc3 | |
parent | f64dd61212b582c8f8a60714955e568ee7a6c0fe (diff) | |
download | patchfoo-624ba5a8b2ddd3272e7402ba5f2183c78b3383e2.tar.gz patchfoo-624ba5a8b2ddd3272e7402ba5f2183c78b3383e2.zip |
Make server.js executable
-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) |