Fix that specifies correct url endpoints based on regions.