Removed trailing slashes from the routes.