Font and url problem

Asked

Viewed 95 times

0

So guys, I have a problem here which is this, I import external fonts in css with @font-face, only when I access my site in the browser without putting www, the site does not pull the font. But if I type the address in the site url with www it picks up the external source right.

I use Chrome and it’s up to date, I’ve cleared the cache.

The console gives me an error of has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested Resource.

1 answer

0


Hello, this must be caused by your domain not redirecting requests from http://your domain for http://www.seudominium where the font urls are fixed checks on your website which "default" link I believe is the http://your domain changes the link to the correct form that should be all right.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.