From e31586cbb07072b1b07f9d8fe8f86dab1920b3e5 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Wed, 18 Sep 2024 07:50:07 +0700 Subject: [PATCH] Fix detect --- src/executor/nginx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/executor/nginx.js b/src/executor/nginx.js index f823af6..a08351c 100644 --- a/src/executor/nginx.js +++ b/src/executor/nginx.js @@ -249,7 +249,7 @@ class NginxExecutor { if (r[k] == unitProxy) { r[k] = "unit"; } else if (r[k].startsWith(dockerProxy)) { - r[k] = "docker:" + r[k].slice(dockerProxy); + r[k] = "docker:" + r[k].slice(dockerProxy.length); } } }