We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32bc9e4 + 59813d2 commit e695f7dCopy full SHA for e695f7d
server.js
@@ -23,6 +23,8 @@ app.use((req, res, next) => {
23
res.header('Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload');
24
res.header('Cache-control', 'public, max-age=0');
25
res.header('Pragma', 'no-cache');
26
+ res.setHeader('X-Frame-Options', 'DENY');
27
+ res.setHeader('Content-Security-Policy', "frame-ancestors 'none';");
28
29
next();
30
});
0 commit comments