Tratement of endpoint singularities via a combination of Chebyshev technology and conformal mappings