Adding images directory to staticDir so we can search images
This commit is contained in:
parent
558c21e1a3
commit
f70dcd3c9f
2 changed files with 4 additions and 3 deletions
1
images/readme.md
Normal file
1
images/readme.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Images directory
|
|
@ -21,7 +21,7 @@ io.sockets.on('connection', function(socket) {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.configure(function() {
|
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));
|
app.use('/' + dir, staticDir(opts.baseDir + dir));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue