aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorEric J. Duran <eric.duran7@gmail.com>2012-10-16 17:48:34 -0400
committerEric J. Duran <eric.duran7@gmail.com>2012-10-16 17:48:34 -0400
commitf70dcd3c9f26c09169d8f58443898661d9fea179 (patch)
tree5872d1993ea89b0d7568dc20c0f8c98a1afbd4e2 /plugin
parent558c21e1a3839fa09103c3928b15315bc0928d09 (diff)
downloadperl-software-in-gnu-guix-f70dcd3c9f26c09169d8f58443898661d9fea179.tar
perl-software-in-gnu-guix-f70dcd3c9f26c09169d8f58443898661d9fea179.tar.gz
Adding images directory to staticDir so we can search images
Diffstat (limited to 'plugin')
-rw-r--r--plugin/speakernotes/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/speakernotes/index.js b/plugin/speakernotes/index.js
index e8c8023..17314f3 100644
--- a/plugin/speakernotes/index.js
+++ b/plugin/speakernotes/index.js
@@ -21,7 +21,7 @@ io.sockets.on('connection', function(socket) {
});
app.configure(function() {
- [ 'css', 'js', 'plugin', 'lib' ].forEach(function(dir) {
+ [ 'css', 'js', 'images', 'plugin', 'lib' ].forEach(function(dir) {
app.use('/' + dir, staticDir(opts.baseDir + dir));
});
});
@@ -43,8 +43,8 @@ app.get("/notes/:socketId", function(req, res) {
// Actually listen
app.listen(opts.port || null);
-var brown = '\033[33m',
- green = '\033[32m',
+var brown = '\033[33m',
+ green = '\033[32m',
reset = '\033[0m';
var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : '' );