Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git] / server / web / middlewares / prevent-clickjacking.js
blob4e95ba759410257e99073fc75f89dd708cc96834
1 'use strict';
3 // Don't allow others to iframe embed which can lead to clickjacking
4 function preventClickjackingMiddleware(req, res, next) {
5   res.set('X-Frame-Options', 'DENY');
7   next();
10 module.exports = preventClickjackingMiddleware;