usefathom / fathom

Fathom Lite. Simple, privacy-focused website analytics. Built with Golang & Preact.
https://usefathom.com/
MIT License
7.52k stars 364 forks source link

cross-origin-resource-policy block script.js to load #356

Open cicixxue opened 2 years ago

cicixxue commented 2 years ago

I've use the custom domain setup and add the script snippet to my website. However I've noticed the script.js is being blocked due to cross-origin-resource-policy not set. My set cross-origin-resource-policy is same-stie, and according to the custom domain setup, the script is from my subdomain, which the same-site suppose to work in this situation. Any suggestions on how to fix this?

BON-ar commented 1 year ago

https://github.com/usefathom/fathom/issues/356#issue-1227294850``