vibora 2.2.1 → 2.3.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/bin/vibora.js CHANGED
@@ -663,6 +663,7 @@ async function handleUpCommand(flags) {
663
663
  }
664
664
  }
665
665
  const port = getPort(flags.port);
666
+ const host = flags.host ? "0.0.0.0" : "localhost";
666
667
  const packageRoot = getPackageRoot();
667
668
  const serverPath = join3(packageRoot, "server", "index.js");
668
669
  const platform = process.platform;
@@ -685,6 +686,7 @@ async function handleUpCommand(flags) {
685
686
  ...process.env,
686
687
  NODE_ENV: "production",
687
688
  PORT: port.toString(),
689
+ HOST: host,
688
690
  VIBORA_DIR: viboraDir,
689
691
  VIBORA_PACKAGE_ROOT: packageRoot,
690
692
  BUN_PTY_LIB: ptyLibPath
@@ -1028,7 +1030,7 @@ Commands:
1028
1030
  tasks move <id> Move task to different status
1029
1031
  tasks delete <id> Delete a task
1030
1032
 
1031
- up Start Vibora server (daemon)
1033
+ up [--host] Start Vibora server (daemon)
1032
1034
  down Stop Vibora server
1033
1035
  status Check if server is running
1034
1036