OneSignal/react-onesignal

[Question]: Is there a specific reason you can not over ride ONE_SIGNAL_SCRIPT_SRC

penfold45 opened this issue · 1 comments

How can we help?

I have security headers that are blocking the script from being loaded.
What I would really like to do is to load the sdk from my own domain name and I will take care of updating my local version of the sdk file. Looking at the current code this does not look possible.
Is there a way this could be done?

Or is there another way I can resolve the bellow issue

GET https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep 200 

Thanks

Does anyone have any ideas on how to resolve this?

Thanks