git ssb

3+

ev / sdash



Commit d722ee9ed13150208b5992caafe81eac10f525a9

fix styles

Ev Bogue committed on 1/12/2017, 2:36:18 AM
Parent: b7406ac4b3aee684884de5d6727c256e3e26f199

Files changed

index.jschanged
index.jsView
@@ -12,8 +12,10 @@
1212 var liteURL = 'http://ssb.evbogue.com/'
1313 var opts = {"modern":true,}
1414 var lite;
1515
16 +var style = fs.readFileSync(__dirname + '/style.css', 'utf8')
17 +
1618 exports.name = 'viewer'
1719 exports.manifest = {}
1820 exports.version = require('./package').version
1921
@@ -33,10 +35,10 @@
3335 function gotPost() {
3436 res.end(
3537 h('html',
3638 h('head',
37- h('title', title)
38- // h('style', fs.readFileSync('style.css', 'utf8'))
39 + h('title', title),
40 + h('style', style)
3941 ),
4042 h('body',
4143 h('div.msg',
4244 h('script', {src: viewerUrl + encodeURI(post.key) + '.js'})

Built with git-ssb-web