diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 315697f..3155c2b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartproxy', - version: '3.0.0', + version: '3.0.1', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index 4ba5925..558f04a 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -121,7 +121,10 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= console.log('got request'); const destinationConfig = this.router.routeReq(req); - // endRequest function + /** + * endRequest function + * can be used to prematurely end a request + */ const endRequest = ( statusArg: number = 404, messageArg: string = 'This route is not available on this server.',