fix production endpoint url