Merge branch 'master' into asset-searching

This commit is contained in:
Dan Zajdband authored and GitHub committed 2016-11-29 11:36:18 -05:00
commit 735f2d09ad
1 file changed
+4 -1
+4 -1
View File
@@ -22,7 +22,10 @@ if (app.get('env') !== 'test') {
//==============================================================================
app.set('trust proxy', 1);
app.use(helmet());
// We disable frameward on helmet to allow crossdomain injection of the embed
app.use(helmet({
frameguard: false
}));
app.use(bodyParser.json());
app.use('/client', express.static(path.join(__dirname, 'dist')));
app.set('views', path.join(__dirname, 'views'));