Hey I did everything in the tutorial to add a font to local but After adding the code snippet when I uploaded the fonts “.ttf” format is not uploaded, it says this type of format is not allowed.
the code we provided here allows you to include .ttf as a mime type when uploading to the media library.
If thats not working then there is some other security mod on your site that is blocking them.
A simple solution is to NOT bother with the .ttf just use .woff and .woff2 as they are supported by all modern browsers.