From fb17089ca6e98b0654e628d2c62731f23383256e Mon Sep 17 00:00:00 2001 From: Tim Pietrusky Date: Sun, 11 Feb 2024 23:16:18 +0100 Subject: [PATCH] feat: the local API should run on 0.0.0.0 --- src/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/start.sh b/src/start.sh index c28a08bd..b55df3d7 100644 --- a/src/start.sh +++ b/src/start.sh @@ -11,7 +11,7 @@ echo "runpod-worker-comfy: Starting RunPod Handler" # Serve the API and don't shutdown the container if [ "$SERVE_API_LOCALLY" == "true" ]; then - python3 -u /rp_handler.py --rp_serve_api + python3 -u /rp_handler.py --rp_serve_api --rp_api_host=0.0.0.0 else python3 -u /rp_handler.py fi \ No newline at end of file