Corrected the api hostname to the new scheme.