Only hit the router if a static file does not exist