I want to preload a local Google variable font, and was wondering if either of these is correct. Specifically, I'm asking about the MIME type. If there's an issue with either of these, please let me know!
<link rel="preload" href="/fonts/Inconsolata-VariableFont_wdth-wght.ttf" as="font" type="font/truetype" crossorigin>
<link rel="preload" href="/fonts/Inconsolata-VariableFont_wdth-wght.ttf" as="font" type="font/truetype-variations" crossorigin>
I tried the "type='font/truetype'" but wasn't sure if that's accurate.