UNPKG

309 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3function xXssProtection() {
4 return function xXssProtectionMiddleware(_req, res, next) {
5 res.setHeader("X-XSS-Protection", "0");
6 next();
7 };
8}
9module.exports = xXssProtection;
10exports.default = xXssProtection;