git ssb

2+

mixmix / ticktack



Commit 21b4a8c3bae6a534cb6aeb6a8bb1bdfa750d2601

wip

mix irving committed on 8/26/2017, 7:12:18 AM
Parent: 47c8e73a3d93e51d2d4b4db1736270f2e2f76842

Files changed

config.jschanged
main.jschanged
config.jsView
@@ -2,11 +2,11 @@
22 const nest = require('depnest')
33 const ssbKeys = require('ssb-keys')
44 const Path = require('path')
55
6-const appName = process.env.ssb_appname || 'ssb' //'ticktack' TEMP: this is for the windowsSSB installer only
6+const appName = process.env.ssb_appname || 'ticktack' //'ticktack' TEMP: this is for the windowsSSB installer only
77 const opts = appName == 'ssb'
8- ? { "port": 43750, "blobsPort": 43751, "ws": { "port": 43751 } }
8+ ? null //{ "port": 43750, "blobsPort": 43751, "ws": { "port": 43751 } }
99 : require('./default-config.json')
1010
1111 exports.gives = nest('config.sync.load')
1212 exports.create = (api) => {
main.jsView
@@ -38,13 +38,13 @@
3838 }))
3939
4040 document.body.appendChild(api.app.html.app())
4141
42-// var invite = api.config.sync.load().autoinvite
43-// if(invite)
44-// api.invite.async.autofollow(
45-// invite,
46-// function (err, follows) {
47-// console.log('autofollowed', err, follows);
48-// })
49-// else
50-// console.log('no invite')
42+var invite = api.config.sync.load().autoinvite
43+if(invite)
44+ api.invite.async.autofollow(
45+ invite,
46+ function (err, follows) {
47+ console.log('autofollowed', err, follows);
48+ })
49+else
50+ console.log('no invite')

Built with git-ssb-web