ElMassimo/vite_ruby

How do I turn off the Inter-roman and Inter-italic fonts?

johnantoni opened this issue · 0 comments

Hi, I'm getting two error regarding the Inter-roman & Inter-italic fonts.

I believe the problem is to do with my cors setup, but is there any way to disable these fonts from trying to load?

plugin:1 Refused to load the font 'http://127.0.0.1:3000/vite-dev/assets/Inter-roman.var-17fe38ab.woff2?v=3.19' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.

plugin:1 Refused to load the font 'http://127.0.0.1:3000/vite-dev/assets/Inter-italic.var-d1401419.woff2?v=3.19' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.

If that's not posssible is there a way to allow serving the vite-dev files on startup?