stoat.run 0.1.2 → 0.1.4
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/README.md +1 -1
- package/dist/bin.cjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/bin.cjs
CHANGED
|
@@ -564,7 +564,7 @@ var InteractiveMode = class {
|
|
|
564
564
|
};
|
|
565
565
|
|
|
566
566
|
// src/commands/http.ts
|
|
567
|
-
var CONTROL_PLANE_URL = process.env["STOAT_CONTROL_PLANE_URL"] ?? "https://cp.
|
|
567
|
+
var CONTROL_PLANE_URL = process.env["STOAT_CONTROL_PLANE_URL"] ?? "https://cp.stoat.run";
|
|
568
568
|
async function httpCommand(port, options) {
|
|
569
569
|
const localPort = parseInt(port, 10);
|
|
570
570
|
if (isNaN(localPort) || localPort < 1 || localPort > 65535) {
|
|
@@ -648,7 +648,7 @@ async function httpCommand(port, options) {
|
|
|
648
648
|
tunnel.sendGoAway("user_quit");
|
|
649
649
|
tunnel.stop();
|
|
650
650
|
clearSession();
|
|
651
|
-
interactive
|
|
651
|
+
interactive?.stop();
|
|
652
652
|
process.exit(0);
|
|
653
653
|
}
|
|
654
654
|
});
|
|
@@ -657,7 +657,7 @@ async function httpCommand(port, options) {
|
|
|
657
657
|
tunnel.sendGoAway("user_quit");
|
|
658
658
|
tunnel.stop();
|
|
659
659
|
clearSession();
|
|
660
|
-
interactive
|
|
660
|
+
interactive?.stop();
|
|
661
661
|
process.exit(0);
|
|
662
662
|
});
|
|
663
663
|
process.on("SIGTERM", () => {
|
|
@@ -682,7 +682,7 @@ async function httpCommand(port, options) {
|
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
// src/commands/status.ts
|
|
685
|
-
var CONTROL_PLANE_URL2 = process.env["STOAT_CONTROL_PLANE_URL"] ?? "https://cp.
|
|
685
|
+
var CONTROL_PLANE_URL2 = process.env["STOAT_CONTROL_PLANE_URL"] ?? "https://cp.stoat.run";
|
|
686
686
|
function isProcessAlive(pid) {
|
|
687
687
|
try {
|
|
688
688
|
process.kill(pid, 0);
|