0
I am using some fonts that I have stored inside a folder on my system. When I run the system locally there is no problem, but when I upload the server to the server (Amazon) the sources stop being displayed. Does anyone know what it might be? This is the code I’m using to load fonts into css:
The first font is being displayed normally on the server, the other two only locally
@font-face {
font-family: 'tipografia';
src:url("../fonts/MyriadPro-Regular.ttf");
}
@font-face {
font-family: 'ocr';
src: url("../fonts/ocra.ttf");
}
@font-face {
font-family: 'bemio';
src: url("../fonts/bemio.otf");
}
Have you confirmed that the source files have gone up to the Amazon server?
– Rodrigo K.B
You may need to clear the browser cache to not reuse old css.
– Sveen
In Google Chrome Devtools in the Network tab you checked if the source is loaded. Error appears?
– hugocsl
I went up the sources yes #Rodrigo K.B and it’s nothing related to the #Sveen cache, even because there was nothing in it before I uploaded the files to the server. So much so that local is functioning normally
– Francis Vagner da Luz