1

I am trying to setup azure cdn for static view files and changed Base URL for Static View Files with cdn url.but icons are not displaying ,how do i solve this ? I am using nginx server and I found out its font awesome cors problem .where do I wanna make changes ?

I am pointed my cdn to /pub/static

2
  • Have you changed js and css url? post your broken image url here Commented Feb 29, 2016 at 16:37
  • no changes to js or css url
    – Jaleel
    Commented Feb 29, 2016 at 18:01

1 Answer 1

0

Do these happen to be font awesome icons? If so you might want to see this for enabling CORS. https://stackoverflow.com/questions/29762484/enabling-cors-for-website-on-azure-cdn-to-host-fonts

Or you can pull your font awesome icons from a public HTTP/2 CDN that hosts font awesome for free and already supports CORS: https://fontawesomecdn.com/

https://opensource.keycdn.com/fontawesome/4.5.0/font-awesome.min.css 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.