You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'
#693
Open
kevgrig opened this issue
Oct 8, 2023
· 0 comments
To get various required fixes, I'm trying to switch from branch release-10.8.z to master. I've re-built jellyfin and jellyfin-web successfully but launching the web browser in either Chrome or Firefox shows a CSP error. For example, from Chrome:
Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src https: data: blob: http://image.tmdb.org; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.gstatic.com https://www.youtube.com blob:; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; frame-ancestors 'self'".
at ./index.jsx (main.jellyfin.bundle.js?8b2376313fc177f319ea:348:1)
at __webpack_require__ (runtime.bundle.js?8b2376313fc177f319ea:31:42)
at __webpack_exec__ (main.jellyfin.bundle.js?8b2376313fc177f319ea:8551:61)
at main.jellyfin.bundle.js?8b2376313fc177f319ea:8552:1378
at __webpack_require__.O (runtime.bundle.js?8b2376313fc177f319ea:70:23)
at main.jellyfin.bundle.js?8b2376313fc177f319ea:8553:56
at webpackJsonpCallback (runtime.bundle.js?8b2376313fc177f319ea:316:39)
at main.jellyfin.bundle.js?8b2376313fc177f319ea:9:53
first.js:1 App Version: 3.9.0
The text was updated successfully, but these errors were encountered:
To get various required fixes, I'm trying to switch from branch
release-10.8.z
tomaster
. I've re-builtjellyfin
andjellyfin-web
successfully but launching the web browser in either Chrome or Firefox shows a CSP error. For example, from Chrome:The text was updated successfully, but these errors were encountered: