Allow same origin framing

Allow people to frame there own server setup
This commit is contained in:
Joopmicroop
2013-11-29 11:04:46 +01:00
parent c5f9f896b2
commit 7d0f160c4c

View File

@@ -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();
});