mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-10 21:32:35 +01:00
11 lines
287 B
JavaScript
11 lines
287 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
function xPoweredBy() {
|
|
return function xPoweredByMiddleware(_req, res, next) {
|
|
res.removeHeader("X-Powered-By");
|
|
next();
|
|
};
|
|
}
|
|
module.exports = xPoweredBy;
|
|
exports.default = xPoweredBy;
|