warp-proxy
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -16,2 +16,4 @@ const chalk = require('chalk'); | ||
agent: new Agent({rejectUnauthorized: false || config.secure}), | ||
proxyTimeout: 1000 * 60 * 5, | ||
timeout: 1000 * 60 * 5, | ||
...config | ||
@@ -32,2 +34,5 @@ }); | ||
webProxy.on('proxyRes', web); | ||
webProxy.on('econnreset', () => log('Connection closed')); | ||
webProxy.on('error', err => log(`Connection error: ${err}`)); | ||
webProxy.listen(port); | ||
@@ -34,0 +39,0 @@ }; |
{ | ||
"name": "warp-proxy", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Proxy requests or return mocks from local files instead", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
105265
180