diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js index 35df8e3..a278026 100644 --- a/plugin/multiplex/index.js +++ b/plugin/multiplex/index.js @@ -30,6 +30,7 @@ app.configure(function() { }); app.get("/", function(req, res) { + res.writeHead(200, {'Content-Type': 'text/html'}) fs.createReadStream(opts.baseDir + '/index.html').pipe(res); }); diff --git a/plugin/notes-server/index.js b/plugin/notes-server/index.js index 8643f5d..8acac52 100644 --- a/plugin/notes-server/index.js +++ b/plugin/notes-server/index.js @@ -30,6 +30,7 @@ app.configure(function() { }); app.get("/", function(req, res) { + res.writeHead(200, {'Content-Type': 'text/html'}) fs.createReadStream(opts.baseDir + '/index.html').pipe(res); });