fix(core): update
This commit is contained in:
parent
08f382b9fa
commit
30896b045f
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartproxy',
|
name: '@pushrocks/smartproxy',
|
||||||
version: '3.0.0',
|
version: '3.0.1',
|
||||||
description: 'a proxy for handling high workloads of proxying'
|
description: 'a proxy for handling high workloads of proxying'
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,10 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
|
|||||||
console.log('got request');
|
console.log('got request');
|
||||||
const destinationConfig = this.router.routeReq(req);
|
const destinationConfig = this.router.routeReq(req);
|
||||||
|
|
||||||
// endRequest function
|
/**
|
||||||
|
* endRequest function
|
||||||
|
* can be used to prematurely end a request
|
||||||
|
*/
|
||||||
const endRequest = (
|
const endRequest = (
|
||||||
statusArg: number = 404,
|
statusArg: number = 404,
|
||||||
messageArg: string = 'This route is not available on this server.',
|
messageArg: string = 'This route is not available on this server.',
|
||||||
|
Loading…
Reference in New Issue
Block a user