Merge pull request #877 from janhq/fix/nitro_ip_interface

fix: Nitro interface update to prevent warning
This commit is contained in:
hiro 2023-12-06 16:14:14 +07:00 committed by GitHub
commit efdc7762e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,7 @@ async function spawnNitroProcess(): Promise<void> {
const binaryPath = path.join(binaryFolder, binaryName);
// Execute the binary
subprocess = spawn(binaryPath, [1, "0.0.0.0", PORT], {
subprocess = spawn(binaryPath, [1, "127.0.0.1", PORT], {
cwd: binaryFolder,
});