vvvmax / unitegallery

Unite Gallery - Responsive jQuery Image and Video Gallery Plugin. Aim to be the best gallery on the web on it's kind. See demo here:
http://unitegallery.net
MIT License
531 stars 158 forks source link

javascript blocked #221

Open byndstd opened 4 years ago

byndstd commented 4 years ago

I'm trying to use unitegallery but i'm getting this error

Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: UGTheme_tiles.

Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: UGTheme_tiles.

Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: UGTheme_tiles.

Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: UGTheme_tiles.

EvalError: call to eval() blocked by CSP

EvalError: call to eval() blocked by CSP

HeySora commented 3 years ago

This error doesn't come from Unitegallery. The error comes from your webserver. Your Webserver is sending a Content-Security-Policy HTTP header that blocks the use of the eval() function, which is used by this library.