Cannot load google fonts in localhost (Visual Studio IIS Express) -


My & lt; Head & gt; In the section of the page, I refer to some Google fonts:

  & lt; Link href = "http://fonts.googleapis.com/css?family=Lato:4000000000000" rel = "stylesheet" type = "text / css" data-notfix / & gt;  

If I open the html page in the browser, it loads well.

But when this visual studio is opened in IIS Express, which means that the URL is

>
  http: // localhost: 1512 / ...  

instead of

  file: ///.c: /. ..  

I got an error that looks like a corse:

XMLHttpRequest can not load.

No 'Access-Control-Permission-Origin' header exists on the requested resource.

The original 'http: // localhost: 1512' is therefore not allowed.

Anyone knows what went wrong here?


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -