From 7d0f160c4c0d118428ff4c86872ca106292d05a3 Mon Sep 17 00:00:00 2001 From: Joopmicroop Date: Fri, 29 Nov 2013 11:04:46 +0100 Subject: [PATCH] Allow same origin framing Allow people to frame there own server setup --- src/webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver.js b/src/webserver.js index 778829e4e6..624f08258d 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -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(); });