Site not working after upgrade

Your CDN_URL ends with a slash, you should remove that.
I’m not sure if this is causing your issue, but it’s certainly not helping.