From 81d11ecd59f958d3efbdba96549085353b61ab7d Mon Sep 17 00:00:00 2001 From: tmashuang Date: Wed, 25 Oct 2017 08:50:58 -0700 Subject: [PATCH] Fix X-Frame-Options for mascara --- mascara/server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)