Blocked in Egypt
Description:
as you may hear already Onesignal base domain is been blocked for 3 years or more now from many ISPs in Egypt, but any subdomains such as api.onesignal.com or app.onesignal.com are working fine.
but when I implemented your Web push notification SDK I see that most requests were made on api.onesignal.com but some requests are directed to the onesignal.com base domain which is a block.

Steps to Reproduce Issue:
- Open any web page that has your SDK from Egypt
- voila you will receive the error of connection error
Anything else:
this would be fixed if you completely changed all your SDK codes to be using https://api.onesignal.com/api/v1/sync/...... instead of https://onesignal.com/api/v1/sync/.............
Duplicate of https://github.com/OneSignal/OneSignal-iOS-SDK/issues/554
Hello @rgomezp this is not a duplicate because the web sdk here https://cdn.onesignal.com/sdks/OneSignalSDKWorker.js still using the base url https://onesignal.com/api/v1/ but it should be updated to https://api.onesignal.com/api/v1/sync/ can we get this resolved in the web too ?
Hello @rgomezp please take in consideration that the getOneSignalResourceUrlPath function in OneSignalPageSDKES6.js file needs to be changed to https://assets.onesignal.com, thanks.