API inicial

This commit is contained in:
2021-03-25 17:23:36 +01:00
commit 218326c402
1878 changed files with 274122 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import { IncomingMessage, ServerResponse } from "http"
declare function originAgentCluster(): (_req: IncomingMessage, res: ServerResponse, next: () => void) => void
export default originAgentCluster

View File

@@ -0,0 +1,10 @@
"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