diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js index 35df8e3919b6361152798f46b36ef3fa2c58aca8..a278026fd48e6e36723554dde169344ea2d4af04 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 8643f5d370674bb63f0f25139e250ee30c8e74f5..8acac525cb11c410646590248c929eaca4391ed1 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); });