PTsolvers / GPU4GEO

Frontier GPU multi-physics solvers
https://ptsolvers.github.io/GPU4GEO/
MIT License
10 stars 7 forks source link

Remove the Content-security-Policy #3

Closed tlienart closed 2 years ago

tlienart commented 2 years ago

remove that

https://github.com/PTsolvers/GPU4GEO/blob/5e934f4a7cfc163179cd2a040ce9b5c4d91b1c03/_layout/head.html#L9

that's what causes Safari to block

luraess commented 2 years ago

Thanks for posting this ☝️ out.

luraess commented 2 years ago

UPDATE: still does not work for me on Safari - also in the Coder example.

tlienart commented 2 years ago

so when you do serve in the coder example repo, it doesn't load in Safari? which version are you using? this is quite odd. I'm with Safari 15.4. On the positive side, this is not a Xranklin issue; it may be a LiveServer issue but I'm not sure. And removing the GA stuff seemed to help on my side.

luraess commented 2 years ago

Yes, in the cloned Coder example it also does not show up in Safari. I am on 15.4 as well, macOS 10.15.7 (Catalina).

luraess commented 2 years ago

UPDATE: seems to work now on Safari after stopping the server and relaunching serve().

tlienart commented 2 years ago

Hahaha nice one! Let's hope it stays that way