querysub 0.84.0 → 0.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -89,10 +89,10 @@ export async function hackDevtoolsWebsocketForward(config: {
|
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
+
console.log(`Forwarding to 127.0.0.1:${config.internalPort} for ${config.externalIP}`);
|
|
92
93
|
const child = child_process.spawn("node", [
|
|
93
94
|
"-e",
|
|
94
95
|
`(${forwardCode.toString()})(${JSON.stringify(config)})`,
|
|
95
|
-
|
|
96
96
|
]);
|
|
97
97
|
|
|
98
98
|
let externalPort: number | undefined;
|
|
@@ -126,6 +126,8 @@ export async function hackDevtoolsWebsocketForward(config: {
|
|
|
126
126
|
// Wait for the port to be available
|
|
127
127
|
externalPort = await portPromise;
|
|
128
128
|
|
|
129
|
+
console.log(`Forwarded external port ${externalPort} => ${config.internalPort} for ${config.externalIP}`);
|
|
130
|
+
|
|
129
131
|
return {
|
|
130
132
|
externalPort,
|
|
131
133
|
cancel: () => {
|