From 9d6f5673bd3c46d22c10edb36483708a3f3c7a1c Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 27 Sep 2017 11:24:50 +0200 Subject: index --- app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 408004c..fe64af2 100644 --- a/app.js +++ b/app.js @@ -15,7 +15,7 @@ app.get('/' + path + '/*', function(req, res) { fs.readFile(req.url.substr(1), 'utf8', function(err, data) { if (err) return console.log(err); - fs.readFile('public/css/style.css', 'utf8', function(err, style) { + /*fs.readFile('public/css/style.css', 'utf8', function(err, style) { var html = ''; html += ''; html += ''; @@ -25,7 +25,8 @@ app.get('/' + path + '/*', function(req, res) { html += ''; html += ''; res.send(html); - }); + });*/ + res.send(converter.makeHtml(data)); }); }); -- cgit v1.2.3