tweaks to slidenotes

This commit is contained in:
Hakim El Hattab
2012-07-01 16:56:06 -04:00
parent 9608ac9d2d
commit acbefa1190
4 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ app.get("/", function(req, res) {
fs.createReadStream(opts.baseDir + '/index.html').pipe(res);
});
app.get("/_notes/:socketId", function(req, res) {
app.get("/notes/:socketId", function(req, res) {
fs.readFile(opts.baseDir + 'lib/slidenotes/notes.html', function(err, data) {
res.send(Mustache.to_html(data.toString(), {
@ -44,5 +44,5 @@ app.get("/_notes/:socketId", function(req, res) {
app.listen(opts.port || null);
console.log("Your slides are at http://localhost" + (opts.port ? (':' + opts.port) : ''));
console.log("Your notes are at http://localhost" + (opts.port ? (':' + opts.port) : '') + '/_notes');
// console.log("Your notes are at http://localhost" + (opts.port ? (':' + opts.port) : '') + '/notes');
console.log("Advance through your slides and your speaker notes will advance automatically");