reveal.js/plugin/notes-server/index.js in reveal-ck-0.1.2 vs reveal.js/plugin/notes-server/index.js in reveal-ck-0.1.3
- old
+ new
@@ -28,9 +28,10 @@
app.use('/' + dir, staticDir(opts.baseDir + dir));
});
});
app.get("/", function(req, res) {
+ res.writeHead(200, {'Content-Type': 'text/html'});
fs.createReadStream(opts.baseDir + '/index.html').pipe(res);
});
app.get("/notes/:socketId", function(req, res) {