Spaces:
Paused
Paused
Download scripts/run-standalone.mjs from igorkurgin/omniroute: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/spaces/igorkurgin/omniroute/resolve/main/scripts/run-standalone.mjs
- Command line
-
hf download hf://spaces/igorkurgin/omniroute/scripts/run-standalone.mjs
-
curl -L -o run-standalone.mjs https://huggingface.co/spaces/igorkurgin/omniroute/resolve/main/scripts/run-standalone.mjs
382 Bytes
| import { | |
| resolveRuntimePorts, | |
| withRuntimePortEnv, | |
| spawnWithForwardedSignals, | |
| } from "./runtime-env.mjs"; | |
| import { bootstrapEnv } from "./bootstrap-env.mjs"; | |
| const env = bootstrapEnv(); | |
| const runtimePorts = resolveRuntimePorts(env); | |
| spawnWithForwardedSignals("node", ["server.js"], { | |
| stdio: "inherit", | |
| env: withRuntimePortEnv(env, runtimePorts), | |
| }); | |