forked from ssbc/patchbay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
44 lines (39 loc) · 771 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
const ahoy = require('ssb-ahoy')
const StartMenus = require('./menu')
const plugins = [
'ssb-server/plugins/master',
'ssb-server/plugins/unix-socket',
'ssb-server/plugins/no-auth',
'ssb-server/plugins/onion',
'ssb-server/plugins/local',
'ssb-server/plugins/logging',
'ssb-legacy-conn',
'ssb-replicate',
'ssb-friends',
'ssb-invite',
'ssb-blobs',
'ssb-ws',
'ssb-about',
'ssb-backlinks',
'ssb-chess-db',
'ssb-ebt',
'ssb-friend-pub',
'ssb-meme',
'ssb-private',
'ssb-query',
'ssb-search',
'ssb-suggest',
'ssb-tangle',
'ssb-unread'
]
ahoy(
{
title: 'Patchbay',
plugins,
// appDir: '../patchbay', // only used when ssb-ahoy is symlinked in!
uiPath: './ui.js'
},
(state) => {
StartMenus(state)
}
)