Font Awesome icons not showing in Chrome, a MaxCDN related Cross-Origin Resource Sharing policy issue

后端 未结 5 1528
一生所求
一生所求 2020-11-27 16:35

just noticed on several websites that the font awesome icons aren\'s showing in Google Chrome. The console shows the following error:

Font from origi

5条回答
  •  无人及你
    2020-11-27 17:08

    Here is the working method to allow access from all domains for webfonts:

    # Allow access from all domains for webfonts.
    # Alternatively you could only whitelist your
    # subdomains like "subdomain.example.com".
    
      
        Header set Access-Control-Allow-Origin "*"
      
    
    

提交回复
热议问题