Dp 2864

These changes should have not been committed. Production endpoints are used by default, not localhost.