• Resolved jrvcosta

    (@jrvcosta)


    Hi!

    I have been getting the following error at the browser console:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://mysite.cdn.net/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKWorker.js?appId=a610ea23-5a90-4876-bcf5-0755aa5be69e?sdkVersion=151510 (Reason: CORS header 'Access-Control-Allow-Origin' missing)

    I tried to add the following instruction to my .htraccess file but it didn’t work (the error continues):

    <IfModule mod_headers.c>
    Header Set Access-Control-Allow-Origin "https://mysite.cdn.net"
    </IfModule>

    Is there anything I can do about it? The plugin seems to work normally.

    Thank you.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Cross-Origin Request Blocked’ is closed to new replies.