4 ms·
At this point I don't want to understand CORS. Put together a little script package this week, threw in some Vue and a Bootstrap and put it on our fileserver.
by martin_a 7y ago
At this point I don't want to understand CORS.
Put together a little script package this week, threw in some Vue and a Bootstrap and put it on our fileserver.
Now the Font Awesome icons won't load due to CORS errors.
I don't want to spin up a server for 500 lines of HTML/JS. I don't want to download the fonts, fiddle around in Bootstrap etc.
CORS is broken or the web itself has become broken if we need integrity checks and cross origin protection for using fonts.
- cooperaustinj 7y agoUse a CDN!
- martin_a 7y agoSo my scripts will randomly go down with the rest of the internet? Great idea!
- yyyk 7y agoBase64 should allow you to do it. It's logical to limit remote font loading, even moreso than js. There used to be quite a few RCE bugs involving fonts on Windows and Adove.