Compare commits

...

2 Commits

Author SHA1 Message Date
1e4e2c4ab6 3.0.1 2022-07-29 01:23:18 +02:00
30896b045f fix(core): update 2022-07-29 01:23:17 +02:00
4 changed files with 8 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartproxy",
"version": "3.0.0",
"version": "3.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartproxy",
"version": "3.0.0",
"version": "3.0.1",
"license": "MIT",
"dependencies": {
"@pushrocks/lik": "^6.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartproxy",
"version": "3.0.0",
"version": "3.0.1",
"private": false,
"description": "a proxy for handling high workloads of proxying",
"main": "dist_ts/index.js",

View File

@ -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'
}

View File

@ -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.',