I set additional fonts in .css . The paths are all correct, for the flask sees them. When the page loads, these fonts are not displayed. Firefox writes the following error:

 downloadable font: rejected by sanitizer (font-family: "Montserrat-Regular" style:normal weight:normal stretch:normal src index:0) source: http://192.168.0.101/static/fonts/Montserrat-Regular.ttf 

my .css

 @font-face { font-family: 'Montserrat-Regular'; src: url(../static/fonts/Montserrat-Regular.ttf) format('truetype'); } 
  • this is Firefox protection, look, for example, here at stackoverflow.com/questions/31723402/… - titov_andrei
  • @titov_andrei fonts are not displayed on all browsers - Insider
  • @titov_andrei despite the fact that if I launch this site through LAN, everything works. But if through Raspberry Pi Flask, I get this error - Insider
  • Found the problem, the files were incorrectly copied several times and did not have the size and information. - Insider

0