reduxjs / redux-devtools

DevTools for Redux with hot reloading, action replay, and customizable UI
http://youtube.com/watch?v=xsSnOQynTHs
MIT License
14.02k stars 1.17k forks source link

Remote connection fails with CSP violation #1783

Open Gudahtt opened 2 hours ago

Gudahtt commented 2 hours ago

When attempting to connect to a local server, I see the following error:

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'".

It looks like this feature executes a string as JavaScript, which is disallowed by the current CSP.

Image

Gudahtt commented 2 hours ago

Probably related to https://github.com/reduxjs/redux-devtools/issues/1755