mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-12 15:41:01 +01:00
Merge pull request #580 from Joopmicroop/patch-1
Allow same origin framing
This commit is contained in:
@@ -159,7 +159,7 @@ var path = require('path'),
|
||||
res.locals.csrf_token = req.session._csrf;
|
||||
|
||||
// Disable framing
|
||||
res.setHeader('X-Frame-Options', 'DENY');
|
||||
res.setHeader('X-Frame-Options', 'SAMEORIGIN');
|
||||
|
||||
next();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user