gatsby-theme-terminal icon indicating copy to clipboard operation
gatsby-theme-terminal copied to clipboard

Local development - Fonts + CORs error

Open deybhayden opened this issue 3 years ago • 0 comments

Hey there, thanks for the great theme! I'm new to Gatsby and decided to rebrand my site using your template but ran into an interesting console message. The message results in the Inconsolata font not loading and until I installed Inconsolata is a local font, it rendered as just the generic monospace font.

Access to font at 'https://example.com/fonts/Inconsolata-Regular.woff2' from origin 'http://localhost:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I get this when I run the npm run develop command.

deybhayden avatar Aug 09 '21 21:08 deybhayden