Font loader optimized for maximum performance. Removes render-blocking font resources and loads them asynchronusly. Handle FOUT & FOUC with font loading status watcher. Supports both local-hosted fonts and web fonts.
MIT License
106
stars
7
forks
source link
Crossorigin value automatically assigned and the value is invalid. #36
When I analyzed my Gatsby website using omni font loader v2, I got an error crossorigin has an invalid value 'true' by HTML validator. It has to be 'anonymous' or empty.
There is not setting options for me to do with omni font loader for crossorigin but it renders 'true'.
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin="true"/>
Can anyone tell me how to fix it and/or add an optional setting for crossorigin, please?
When I analyzed my Gatsby website using omni font loader v2, I got an error crossorigin has an invalid value 'true' by HTML validator. It has to be 'anonymous' or empty.
There is not setting options for me to do with omni font loader for crossorigin but it renders 'true'.
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin="true"/>
Can anyone tell me how to fix it and/or add an optional setting for crossorigin, please?My configuration
Thank you!