Hi, we are using Bunny CDN and see that error after last update (own hosted instance):
(anonymous) @ service-worker.js:1
Related issue here:
Since the latest update we get the following JS errors re Service Worker in Chrome:
The script resource is behind a redirect, which is disallowed.
Failed to register Service Worker: SecurityError: Failed to register a ServiceWorker for scope ('https://www.xxxxx.com/') with script ('https://www.xxxxxx.com/service-worker.js'): The script resource is behind a redirect, which is disallowed.
We host …
But rebuild app not work for us
This usually means that your CDN is misconfigured. Can you share your instance URL ?
You can see the error message in browser console.
Your CDN is definetly misconfigured. Every request becomes a redirect.
curl -I https://cdn-discourse.btcarg.com.ar/brotli_asset/google-universal-analytics-v3-706f1d28f0a97f67a47515c96189277240ec4940d968955042066d7873fd1fe8.js
date: Wed, 13 Apr 2022 01:58:24 GMT
cdn-cachedat: 04/13/2022 01:58:24
link: <https://foro.btcarg.com.ar/brotli_asset/google-universal-analytics-v3-706f1d28f0a97f67a47515c96189277240ec4940d968955042066d7873fd1fe8.js>; rel="canonical"
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.