diff --git a/web/source/index.js b/web/source/index.js index 034916b72..7b36676e2 100644 --- a/web/source/index.js +++ b/web/source/index.js @@ -47,9 +47,13 @@ skulk({ }, servers: { express: { - proxy: "http://127.0.0.1:8081", - assets: "/assets" - } + proxy: { + target: "http://127.0.0.1:8081", + onProxyRes: (proxyRes) => { + // CSP header prevents react-devtools and redux-devtools extensions from working + delete proxyRes.headers['content-security-policy']; + }, + }, }, bundles: { frontend: {