mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-10 13:32:30 +01:00
11 lines
324 B
JavaScript
11 lines
324 B
JavaScript
"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;
|