From e514f3088b068d9fee1db9a2895f22dda5c71e79 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Wed, 17 Mar 2021 08:31:47 +0000 Subject: [PATCH] Allow use within iframes --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 4bec442..5eeb9a9 100644 --- a/index.js +++ b/index.js @@ -48,6 +48,7 @@ http.createServer((req, response) => { delete res.headers['access-control-allow-methods']; delete res.headers['content-encoding']; delete res.headers['content-length']; + delete res.headers['x-frame-options']; response.writeHead(res.statusCode, res.headers); }) .on('data', function(data) {