Merge pull request #2412 from MetaMask/x-frame-options

mascara - set x-frame-options header to DENY
feature/default_network_editable
kumavis 7 years ago committed by GitHub
commit 2a18f732c7
  1. 2
      mascara/server/index.js

@ -17,7 +17,7 @@ function createMetamascaraServer () {
const server = express()
// ui window
serveBundle(server, '/ui.js', uiBundle)
server.use(express.static(__dirname + '/../ui/'))
server.use(express.static(__dirname + '/../ui/', { setHeaders: (res) => res.set('X-Frame-Options', 'DENY') }))
server.use(express.static(__dirname + '/../../dist/chrome'))
// metamascara
serveBundle(server, '/metamascara.js', metamascaraBundle)

Loading…
Cancel
Save