I have a cdn script file that should handles push notification settings for client websites.
// cdn sdk.js
const register = await navigator.serviceWorker.register("https://my_cdn_address.com/sw.js", {
scope: "/",
});
but i got this error:
The origin of the provided scriptURL ('https://my_cdn_address.com') does not match the current origin ('https://my_client_website.com').