aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-07-01 16:56:06 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-07-01 16:56:06 -0400
commitacbefa1190f263942f83b8be33bd909ef45e2f7c (patch)
tree93a981d72bf704bca8b17f257ea32c2caf4086b6 /lib
parent9608ac9d2dbe7ef4161d64c88865290ccaca6c30 (diff)
downloadfosdem-2018-presentation-acbefa1190f263942f83b8be33bd909ef45e2f7c.tar
fosdem-2018-presentation-acbefa1190f263942f83b8be33bd909ef45e2f7c.tar.gz
tweaks to slidenotes
Diffstat (limited to 'lib')
-rw-r--r--lib/slidenotes/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/slidenotes/index.js b/lib/slidenotes/index.js
index 1c0585c..1d36c4d 100644
--- a/lib/slidenotes/index.js
+++ b/lib/slidenotes/index.js
@@ -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");