Skip to content

Commit

Permalink
Merge pull request #1849 from oasisprotocol/lw/csp-start-prod
Browse files Browse the repository at this point in the history
Fix CSP in start:prod
  • Loading branch information
lukaw3d authored Feb 13, 2024
2 parents de9ad26 + f0a75db commit e6fdb35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/1849.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix CSP in start:prod
2 changes: 1 addition & 1 deletion internals/scripts/serve-prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path')
const http = require('http')
const serveHandler = require('serve-handler')
const { getCsp, getPermissionsPolicy } = require('../getSecurityHeaders.js')
const csp = getCsp({ isDev: false, isExtension: true })
const csp = getCsp({ isDev: false, isExtension: false })
const permissionsPolicy = getPermissionsPolicy()
console.log(`Content-Security-Policy: ${csp}\n`)
console.log(`Permissions-Policy: ${permissionsPolicy}\n`)
Expand Down

0 comments on commit e6fdb35

Please sign in to comment.