index.js 299 Bytes
Newer Older
Rosanny Sihombing's avatar
Rosanny Sihombing committed
1
2
3
4
5
6
7
8
9
10
"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
function xDownloadOptions() {
	return function xDownloadOptionsMiddleware(_req, res, next) {
		res.setHeader("X-Download-Options", "noopen")
		next()
	}
}
module.exports = xDownloadOptions
exports.default = xDownloadOptions