@nodeswork/container-proxy
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -40,2 +40,6 @@ var http = require('http'), | ||
try { | ||
const requestUrl = new url.URL(req.url, `http://localhost:${PORT}`); | ||
req.url = requestUrl.path; | ||
LOG.info('set back url path', requestUrl.path); | ||
var target; | ||
@@ -42,0 +46,0 @@ if (toApplet && toApplet.startsWith('na-')) { |
{ | ||
"name": "@nodeswork/container-proxy", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "Container proxy for applet to access network", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
14092
63