Fix plugin runtime port

This commit is contained in:
Gregory Schier
2025-01-21 06:09:36 -08:00
parent c58bfeb109
commit 5d505d1366
2 changed files with 8 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ pub async fn start_nodejs_plugin_runtime<R: Runtime>(
let cmd = app
.shell()
.sidecar("yaaknode")?
.env("YAAK_PLUGIN_RUNTIME_PORT", addr.port().to_string())
.env("PORT", addr.port().to_string())
.args(&[&plugin_runtime_main]);
let (mut child_rx, child) = cmd.spawn()?;