upload site

This commit is contained in:
ry 2020-01-03 21:48:09 +01:00
commit 69c5b90d6a
3300 changed files with 224783 additions and 0 deletions

7
node_modules/dns-prefetch-control/dist/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,7 @@
/// <reference types="node" />
import { IncomingMessage, ServerResponse } from 'http';
interface DnsPrefetchControlOptions {
allow?: boolean;
}
declare const _default: (options?: DnsPrefetchControlOptions | undefined) => (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
export = _default;

16
node_modules/dns-prefetch-control/dist/index.js generated vendored Normal file
View file

@ -0,0 +1,16 @@
"use strict";
function getHeaderValueFromOptions(options) {
if (options && options.allow) {
return 'on';
}
else {
return 'off';
}
}
module.exports = function dnsPrefetchControl(options) {
var headerValue = getHeaderValueFromOptions(options);
return function dnsPrefetchControl(_req, res, next) {
res.setHeader('X-DNS-Prefetch-Control', headerValue);
next();
};
};