Fix API url.