Commit 634a3e47dc6133cc55dae03d47dc86880af6282c
tidy
Dominic Tarr committed on 9/3/2019, 12:16:20 AMParent: 76a136d4fbdd78dab9a7b6f40385a810d6512d86
Files changed
index.js | changed |
index.js | |||
---|---|---|---|
@@ -7,24 +7,23 @@ | |||
7 | 7 … | use('public/menu', function (opts, apply, req) { | |
8 | 8 … | var tr = require('./translations')(req.cookies.lang) | |
9 | 9 … | return ['a', {href: '/patch/public'}, tr('Public')] | |
10 | 10 … | }) | |
11 | -// use.map('link', 'feed', 'public') | ||
12 | -// use.map('link', 'msg', '/message') | ||
11 … | + | ||
13 | 12 … | use('messages/post', require('./messages/post')(sbot)) | |
14 | 13 … | use('messages/vote', require('./messages/vote')(sbot)) | |
15 | 14 … | use.map('messages', 'post', 'messages/post') | |
16 | 15 … | use.map('messages', 'vote', 'messages/vote') | |
17 | 16 … | ||
18 | 17 … | use('names/post', require('./post-name')(sbot)) | |
19 | -// use.map('messageName', 'post', 'names/post') | ||
20 | 18 … | ||
21 | 19 … | use.list('menu', 'public/menu') | |
22 | 20 … | use('thread', require('./thread')(sbot)) | |
23 | 21 … | use('private', require('./private')(sbot)) | |
24 | 22 … | use('private/menu', function (opts, apply, req) { | |
25 | 23 … | return ['a', {href: '/patch/private'}, Tr(req.cookies.lang)('Private')] | |
26 | 24 … | }) | |
25 … | + | ||
27 | 26 … | use.list('menu', 'private/menu') | |
28 | 27 … | use('likes', require('./likes')(sbot)), | |
29 | 28 … | use.list('extra', 'likes') | |
30 | 29 … | use('backlinks', require('./backlinks')(sbot)), |
Built with git-ssb-web