? I am confused. I already am using the static middleware to serve CSS
and JS files. I want to serve the static HTML pages depending on a
route, so what exactly are ypu agreeing to Wes?
Anyway, I think I have found something, I just make calls like this in
the individual controllers
res.sendfile(__dirname + '/index.html');
res.sendfile(__dirname + '/de/index.html');
res.sendfile(__dirname + '/fr/foo.html');
On Apr 18, 4:15 pm, Wes Freeman <
freeman....@gmail.com> wrote:
> I agree.
>
> app.configure('development', function(){
> app.use(express.static(__dirname + '/public'));
>
> });
>