Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
connect.query(),
middleware.forwardedIp(),
middleware.basicAuth(),
middleware.apiMatcher(),
middleware.apiSettings(),
middleware.apiKeyValidator(this),
middleware.roleValdiator(this),
middleware.ipValidator(this),
middleware.refererValidator(this),
middleware.rateLimit(this),
middleware.rewriteRequest(),
middleware.proxyBufferedRequest(this.server.proxy),
middleware.rewriteResponse(),
];
this.stack = httpProxy.stack(this.middlewares, this.server.proxy);
this.server.listen(port, config.get('gatekeeper.host'));
},