I used to set app.all('/*', function (req, res, next) ... as my last route in order to handle routes that are not found, it used to work fine but now that I use express-resource it seems that static content like .css, .js, .jpg are processed by the router without express-resource they are not processed and app.all('/*'... handles not found routes properly
I used to set
app.all('/*', function (req, res, next) ...as my last route in order to handle routes that are not found, it used to work fine but now that I use express-resource it seems that static content like.css,.js,.jpgare processed by the router without express-resource they are not processed andapp.all('/*'...handles not found routes properly