fix embedded header bug

This commit is contained in:
David Baldwynn 2017-10-07 04:50:52 -04:00
parent b58d7abaec
commit ef621f03ce

View file

@ -15,7 +15,7 @@ exports.index = function(req, res) {
exports.form = function(req, res) {
//Allow form to be embedded
res.set('X-Frame-Options', 'GOFORIT');
res.removeHeader('X-Frame-Options');
res.render('form', {
user: req.user || null,