Service worker with cloudflare problem?

Hi, I have a vue3 app running on aws amplify, its also going through Cloudflare and DNS for the subdomain is set to proxy, its proxys a cloudfront distribution which is what aws amplify gives as the vue3 app url. I have setup a PWA but when i deploy it, the service worker doesnt work, I see that its proxied by Cloudflare. Does anyone know if this is breaking the service worker? as I can get it all to work locally, just not in “production”/ live

i found my problem, can close this down