Browse Source

serve notes/multiple index document as html (closes #470)

embed
Hakim El Hattab 12 years ago
parent
commit
8393efe8e9
  1. 1
      plugin/multiplex/index.js
  2. 1
      plugin/notes-server/index.js

1
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);
});

1
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);
});

Loading…
Cancel
Save