For those who need it, my solution used Middleware. If anyone finds a better solution, please let me know!
public = ['images', 'javascripts', 'stylesheets', 'favicon.ico'] ignore = (req, res, next) -> if public.indexOf(req.params.name) != -1 console.log "Ignoring static file: #{req.params.name}/#{req.params.group}" next('route') else next() app.get "/:name?/:group?", ignore, (req, res) -> ...
Luke burns
source share