Fix trailing slash when using API.route('')