aboutsummaryrefslogtreecommitdiffstats
path: root/mascara
diff options
context:
space:
mode:
authortmashuang <tmashuang@gmail.com>2017-10-25 23:50:58 +0800
committertmashuang <tmashuang@gmail.com>2017-10-25 23:50:58 +0800
commit81d11ecd59f958d3efbdba96549085353b61ab7d (patch)
tree94824f15b1b6df7554fea3c0bccb025459c3143b /mascara
parent1767dceba44f6d173bf3cdb8436d117c7f29b834 (diff)
downloadtangerine-wallet-browser-81d11ecd59f958d3efbdba96549085353b61ab7d.tar
tangerine-wallet-browser-81d11ecd59f958d3efbdba96549085353b61ab7d.tar.gz
tangerine-wallet-browser-81d11ecd59f958d3efbdba96549085353b61ab7d.tar.bz2
tangerine-wallet-browser-81d11ecd59f958d3efbdba96549085353b61ab7d.tar.lz
tangerine-wallet-browser-81d11ecd59f958d3efbdba96549085353b61ab7d.tar.xz
tangerine-wallet-browser-81d11ecd59f958d3efbdba96549085353b61ab7d.tar.zst
tangerine-wallet-browser-81d11ecd59f958d3efbdba96549085353b61ab7d.zip
Fix X-Frame-Options for mascara
Diffstat (limited to 'mascara')
-rw-r--r--mascara/server/index.js2
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)