diff options
-rw-r--r-- | lib/app.js | 4 | ||||
-rw-r--r-- | lib/serve.js | 2 | ||||
-rw-r--r-- | static/styles.css | 1 |
3 files changed, 5 insertions, 2 deletions
@@ -17,7 +17,7 @@ function App(sbot, config) { var conf = config.patchfoo || {} this.port = conf.port || 8027 - this.host = conf.host || 'localhost' + this.host = conf.host || '::1' var base = conf.base || '/' this.opts = { @@ -58,6 +58,8 @@ App.prototype.unboxMsg = function (msg, cb) { if (err) { self.error('unbox:', err) return cb(null, msg) + } else if (content === false) { + return cb(null, msg) } var m = {} for (var k in msg) m[k] = msg[k] diff --git a/lib/serve.js b/lib/serve.js index 0dd403a..11315b6 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -593,7 +593,7 @@ Serve.prototype.wrapPage = function (title, searchQ) { h('a', {href: render.toUrl('/private')}, 'private') , ' ', render.idLink(self.app.sbot.id, done()), ' ', h('input.search-input', {name: 'q', value: searchQ, - placeholder: 'search', size: 16}) + placeholder: 'search'}) // h('a', {href: '/convos'}, 'convos'), ' ', // h('a', {href: '/friends'}, 'friends'), ' ', // h('a', {href: '/git'}, 'git') diff --git a/static/styles.css b/static/styles.css index 790e6ab..6f8e4a9 100644 --- a/static/styles.css +++ b/static/styles.css @@ -30,6 +30,7 @@ section { background-color: transparent; border: 1px solid black; font-size: inherit; + width: 24ex; } .paginate { |