Skip to content

Commit f70dcd3

Browse files
committed
Adding images directory to staticDir so we can search images
1 parent 558c21e commit f70dcd3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

images/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Images directory

plugin/speakernotes/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ io.sockets.on('connection', function(socket) {
2121
});
2222

2323
app.configure(function() {
24-
[ 'css', 'js', 'plugin', 'lib' ].forEach(function(dir) {
24+
[ 'css', 'js', 'images', 'plugin', 'lib' ].forEach(function(dir) {
2525
app.use('/' + dir, staticDir(opts.baseDir + dir));
2626
});
2727
});
@@ -43,8 +43,8 @@ app.get("/notes/:socketId", function(req, res) {
4343
// Actually listen
4444
app.listen(opts.port || null);
4545

46-
var brown = '\033[33m',
47-
green = '\033[32m',
46+
var brown = '\033[33m',
47+
green = '\033[32m',
4848
reset = '\033[0m';
4949

5050
var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : '' );

0 commit comments

Comments
 (0)