Allow use within iframes
This commit is contained in:
parent
2f425b3496
commit
e514f3088b
1
index.js
1
index.js
@ -48,6 +48,7 @@ http.createServer((req, response) => {
|
|||||||
delete res.headers['access-control-allow-methods'];
|
delete res.headers['access-control-allow-methods'];
|
||||||
delete res.headers['content-encoding'];
|
delete res.headers['content-encoding'];
|
||||||
delete res.headers['content-length'];
|
delete res.headers['content-length'];
|
||||||
|
delete res.headers['x-frame-options'];
|
||||||
response.writeHead(res.statusCode, res.headers);
|
response.writeHead(res.statusCode, res.headers);
|
||||||
})
|
})
|
||||||
.on('data', function(data) {
|
.on('data', function(data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user