zwbetz-gh / cupper-hugo-theme

An accessibility-friendly Hugo theme, ported from the original Cupper project.
https://cupper-hugo-theme.netlify.app/
MIT License
301 stars 190 forks source link

Fonts not working on custom domain #27

Closed matiasilva closed 4 years ago

matiasilva commented 4 years ago

Describe the bug The heading font does not carry over on a custom domain

To Reproduce Steps to reproduce the behavior:

  1. Go to this link

Expected behavior The Cupper font would load.

Desktop (please complete the following information):

matiasilva commented 4 years ago

Nevermind...

matiasilva commented 4 years ago

As soon as I add a CNAME, fonts no longer work..

zwbetz-gh commented 4 years ago

Open chrome devtools, do you see any errors?

matiasilva commented 4 years ago

Yes, CORS errors..

zwbetz-gh commented 4 years ago

I cannot help you with a CORS error, as this is not a cupper theme issue. You must fix that yourself via your web server config. Closing this issue.