Skip to content
Snippets Groups Projects
Commit f70dcd3c authored by Eric J. Duran's avatar Eric J. Duran
Browse files

Adding images directory to staticDir so we can search images

parent 558c21e1
No related branches found
No related tags found
No related merge requests found
Images directory
......@@ -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 ) : '' );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment