OneSignal / react-onesignal

React OneSignal Module: Make it easy to integrate OneSignal with your React App!
Other
73 stars 26 forks source link

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

Open penfold45 opened 6 months ago

penfold45 commented 6 months ago

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

penfold45 commented 5 months ago

Does anyone have any ideas on how to resolve this?

Thanks