I use laravel framework. But in chrome console this error happening and font-family
not working.
Failed to load resource: the server responded with a status of 500 (Missing Content-Type Header)
In css:
@font-face{
font-family: 'HelveticaNeue';
src: url(../fonts/HelveticaNeue.otf);
}
After searching I found that adding format() can solve problem. and I changed to this :
@font-face{
font-family: 'HelveticaNeue';
src: url(../fonts/HelveticaNeue.otf) format(opentype);
}
Now error not showing in console but font-family
still not working.
My file structure is:
public
css
fonts
Thanks.