Sites are generated with unsafe scripts that are being blocked by Google Chrome and Safari. Example Site Is there a way to prevent the scripts from being blocked?
Hi Cooper Le,
--Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!
I'm assuming you meant theme. The particular theme I'm trying to use on the site is "Tattoo", but it also happens with "Simple" and "Square".
I asked for the file names that are marked as unsafe because I can not reproduce this issue.
Ok, I got it on Safari only.
[Error] Unsafe attempt to load URL https://cooperfle.github.io/travel-blog/assets/svg/svg-map.svg from origin https://elegant-franklin-a599c6.netlify.com. Domains, protocols and ports must match. (elegant-franklin-a599c6.netlify.com, line 1)
As you can see this is not related to the Publii theme but is connected with your server configuration.
The SVG map file is served from https://cooperfle.github.io/travel-blog but your domain is elegant-franklin-a599c6.netlify.com
Thank you for the help there. I had thought that could be the problem, so I switched to manual uploads on netlify. Unfortunately, something in Publii must have kept my GitHub pages information resulting in the cors issue.
After starting from scratch, scripts are now loading properly in both browsers. Please go ahead and close the ticket.
Glad to hear that it works for you now.