Problems using font-face on site

0

I'm using font-face on my site and it loads normally when typing the link with www.ksleague.com, however, when typing the link without the www, it does not pull the font-face. How do I resolve this?

    
asked by anonymous 25.11.2017 / 14:46

1 answer

0

Instead of using the entire path of .css , use the relative path:

Instead of "http://www.ksleague.com/_css/component.css"

Use "_css/component.css"

This is because when you use the entire path, you can give the "same source policy" error if you omit the "www" at the site address.

    
25.11.2017 / 14:57