iOS: bunch of fixes for safari (ie flexbox bugs and more) (issue #78)

This commit is contained in:
jean-emmanuel 2017-09-01 15:40:39 +02:00
parent c6da570817
commit 85526dbb7e
10 changed files with 24 additions and 13 deletions

View file

@ -14,8 +14,8 @@ express.get('/', function(req, res){
})
express.get('*', function(req, res){
if (req.path.indexOf('theme.css') != -1) {
res.set('Content-Type', 'text/css');
if (settings.read('theme')) {
res.set('Content-Type', 'text/css');
res.send(new Buffer(settings.read('theme')))
} else {
res.send('')