You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use webpack to build our application for electron. Our html, css and woff2 are delivered over file:// protocol. Setting crossorigin attribute on fonts results in loading the font twice.
example requests:
curl 'file:///<redacted>/Inter-Bold.3J6.woff2' \
-H 'Origin: file://' \
-H 'Referer: ' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Slapdash/2.6.5 Chrome/87.0.4280.141 Electron/11.3.0 Safari/537.36' \
--compressed
curl 'file:///<redacted>/Inter-Bold.3J6.woff2' \
-H 'Referer: ' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Slapdash/2.6.5 Chrome/87.0.4280.141 Electron/11.3.0 Safari/537.36' \
--compressed
Please provide a way to disable it.
The text was updated successfully, but these errors were encountered:
We use webpack to build our application for electron. Our html, css and woff2 are delivered over
file://
protocol. Setting crossorigin attribute on fonts results in loading the font twice.example requests:
Please provide a way to disable it.
The text was updated successfully, but these errors were encountered: