mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
mascara - set x-frame-options header to DENY
This commit is contained in:
parent
87ad6a29f0
commit
5c902423d9
@ -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…
Reference in New Issue
Block a user