Adding images directory to staticDir so we can search images
authorEric J. Duran <eric.duran7@gmail.com>
Tue, 16 Oct 2012 21:48:34 +0000 (17:48 -0400)
committerEric J. Duran <eric.duran7@gmail.com>
Tue, 16 Oct 2012 21:48:34 +0000 (17:48 -0400)
images/readme.md [new file with mode: 0644]
plugin/speakernotes/index.js

diff --git a/images/readme.md b/images/readme.md
new file mode 100644 (file)
index 0000000..c3df390
--- /dev/null
@@ -0,0 +1 @@
+Images directory
index e8c8023dd021e0271b3773ffc75cf059c40b62ee..17314f331888a8c2e23c4f4268bbda542fbc94fb 100644 (file)
@@ -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 ) : '' );