Update grunt connect config

This commit is contained in:
Brandon Aaron
2013-11-14 10:36:34 -05:00
parent ef315943df
commit a5b631aa91

View File

@ -24,8 +24,13 @@ module.exports = function(grunt) {
server: {
options: {
hostname: '*',
directory: '.',
keepalive: true
keepalive: true,
middleware: function(connect, options) {
return [
connect.static(options.base),
connect.directory(options.base)
];
}
}
}
}