• Resolved tanmoyweb

    (@tanmoyweb)


    Hi,
    My website is facing issue loading some webfonts like Font Awesome, Roboto etc. In the console it showing that Access to font at 'Access to font at 'https://cdn-ajoap.nitrocdn.com/oIXaGTuaajpAplxpKGzUpqGxIMAlBRMt/assets/static/optimized/fonts/roboto-v20-latin-500.woff2' from origin 'https://www.bathroomking.com.au' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    I added below code to .htaccess, but still facing same issue.

    AddType application/vnd.ms-fontobject .eot
    AddType application/x-font-ttf        .ttf
    AddType application/x-font-opentype   .otf
    AddType application/font-woff         .woff
    
    <FilesMatch ".(eot|ttf|otf|woff)">
      Header set Access-Control-Allow-Origin "*"
    </FilesMatch>

    Due to this my website is not rendering properly. Please take a look & let me know how can I solve this issue.

    • This topic was modified 4 years, 1 month ago by tanmoyweb.
    • This topic was modified 4 years, 1 month ago by tanmoyweb.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author NitroPack

    (@nitropack)

    Hello @tanmoyweb,

    It looks like this has been a temporary issue. We just tested and everything works correctly on our end.

    Please let us know if you are still having issues.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with CORS policy’ is closed to new replies.