Rewrite URL Rule From CDN Provider

Hello

I need rewrite URL from CDN host provider from :
https://is3.cloudprovider.id/cdn.mydomainname.com/2022/05/image.webp
to
https://cdn.mydomainname.com/2022/05/image.webp

Thank you for help and your advice.