Feature(360): fix css, fix CSP

This commit is contained in:
Pieter Vander Vennet 2025-03-30 15:18:20 +02:00
parent 97df9abab2
commit a30f25f42a
4 changed files with 11 additions and 2 deletions

View file

@ -6,3 +6,4 @@
# So, we patch it up...
echo "Fixing pannellum..."
sed -i 's/^window./if(typeof window !== "undefined")\n&/' "./node_modules/pannellum/build/pannellum.js"
cp ./node_modules/pannellum/build/pannellum.css ./public/css/