added all files to project

This commit is contained in:
partoschph68073 committed 2022-03-10 10:36:59 +01:00
1 parent 09dd957b33
commit 46a936d7de
25351 files changed
+3883356

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
import { IncomingMessage, ServerResponse } from "http"
declare function xDownloadOptions(): (_req: IncomingMessage, res: ServerResponse, next: () => void) => void
export default xDownloadOptions
+10
View File
@@ -0,0 +1,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