I have been building a site with Grunt and grunt-contrib-connect.
I would like to have my site urls not require file extensions (i.e. 'foo' not 'foo.html')
From what I can gather gunt-contrib-connect does not pay attention to htaccess files so I can't define a mod rewrite there.
This seems to be possible with the use of middleware but I can't find any mention of how this is possible. Any help would be greatly appreciated.
connect: {
server: {
options: {
port: 9000,
base: 'build/',
livereload: true,
open: true
}
}
},