Commit 69aabfdf authored by Leo Iannacone's avatar Leo Iannacone

Merge remote-tracking branch 'github/master' into portable

parents 13e9c9e8 3d4f4923
......@@ -45,8 +45,13 @@ if (config.routes.preferences)
if (config.routes.commands)
app.get(config.routes.commands, routes.commands);
// debomatic static page
app.use(config.routes.debomatic, serve_index(config.debomatic.path));
app.use(config.routes.debomatic, serve_static(config.debomatic.path));
app.use(config.routes.debomatic, serve_index(config.debomatic.path, {
filter: function (filename) {
// do not show these files and directories
return ['dev', 'sys'].indexOf(filename) < 0;
}
}));
// serve stylesheet-javascript
app.use(serve_static(__dirname + '/public'));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment