ipol-journal / ipolDevel

IPOL demo system development
GNU Affero General Public License v3.0
23 stars 3 forks source link

3d viewer no more working #167

Closed kerautret closed 1 year ago

kerautret commented 1 year ago

Hi all, It looks like that the system do not allow to display 3D anymore. For instance in the published paper that I edit the demo is failing: https://www.ipol.im/pub/art/2023/418/ Capture d’écran 2023-04-08 à 09 48 03 It looks like that it is related to the "frame-src-directive" of the content Security Policy. Perhaps related to the last commits since I tested it not a :one time ago and it was working. Thanks to all!

kerautret commented 1 year ago

perhaps the @mcolom PR #166 fix it ?

mcolom commented 1 year ago

Hi Bertrand,

Thanks for reporting!

It stopped working because indeed the security policy is disallowing the use of resources which are external to IPOL. However, given that some demos as yours are loading libraries this way, we'll allow it.

It should work again now :)

kerautret commented 1 year ago

Excellent thanks a lot @mcolom ;)

kerautret commented 1 year ago

I confirm it works perfectly fine !

mcolom commented 1 year ago

Great! Thanks for testing too.