html5Mode and api routes