DiscofyAPI/node_modules/helmet/dist/middlewares/origin-agent-cluster/index.js

11 lines
305 B
JavaScript
Raw Permalink Normal View History

2021-03-25 17:23:36 +01:00
"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
function originAgentCluster() {
return function originAgentClusterMiddleware(_req, res, next) {
res.setHeader("Origin-Agent-Cluster", "?1")
next()
}
}
module.exports = originAgentCluster
exports.default = originAgentCluster