Skip to content

Commit 171d5d9

Browse files
Update CSP (#22)
1 parent 4c4ba35 commit 171d5d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

next.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ export default withBundleAnalyzer({
185185
// Apply these headers to all routes in your application.
186186
source: '/(.*)',
187187
headers: [
188+
// DAPPNODE
189+
{
190+
key: "Content-Security-Policy",
191+
value: `connect-src 'self' https: wss: http: http://execution.holesky.dncore.dappnode:8545 http://execution.mainnet.dncore.dappnode:8545 http://lido-events.lido-csm-holesky.dappnode:8080 http://lido-events.lido-csm-mainnet.dappnode:8080 http://brain.web3signer-holesky.dappnode http://brain.web3signer.dappnode;`,
192+
},
188193
{
189194
key: 'X-DNS-Prefetch-Control',
190195
value: 'on',

0 commit comments

Comments
 (0)