diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-10-26 01:12:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 01:12:43 +0800 |
commit | bba2980d0ad5ea8681c5b891cc9698085e521064 (patch) | |
tree | 94824f15b1b6df7554fea3c0bccb025459c3143b | |
parent | 1767dceba44f6d173bf3cdb8436d117c7f29b834 (diff) | |
parent | 81d11ecd59f958d3efbdba96549085353b61ab7d (diff) | |
download | tangerine-wallet-browser-bba2980d0ad5ea8681c5b891cc9698085e521064.tar tangerine-wallet-browser-bba2980d0ad5ea8681c5b891cc9698085e521064.tar.gz tangerine-wallet-browser-bba2980d0ad5ea8681c5b891cc9698085e521064.tar.bz2 tangerine-wallet-browser-bba2980d0ad5ea8681c5b891cc9698085e521064.tar.lz tangerine-wallet-browser-bba2980d0ad5ea8681c5b891cc9698085e521064.tar.xz tangerine-wallet-browser-bba2980d0ad5ea8681c5b891cc9698085e521064.tar.zst tangerine-wallet-browser-bba2980d0ad5ea8681c5b891cc9698085e521064.zip |
Merge pull request #2478 from MetaMask/mascaraHeadersFix
Fix X-Frame-Options for mascara
-rw-r--r-- | mascara/server/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mascara/server/index.js b/mascara/server/index.js index f0d022f7d..83f84f6d1 100644 --- a/mascara/server/index.js +++ b/mascara/server/index.js @@ -18,7 +18,7 @@ function createMetamascaraServer () { const server = express() // ui window serveBundle(server, '/ui.js', uiBundle) - server.use(express.static(path.join(__dirname, '/../ui/', { setHeaders: (res) => res.set('X-Frame-Options', 'DENY') }))) + server.use(express.static(path.join(__dirname, '/../ui/'), { setHeaders: (res) => res.set('X-Frame-Options', 'DENY') })) server.use(express.static(path.join(__dirname, '/../../dist/chrome'))) // metamascara serveBundle(server, '/metamascara.js', metamascaraBundle) |