From 9db60550d1cdeb7510277695059478609e6ec905 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Mon, 7 Mar 2022 11:05:55 -0800 Subject: [PATCH] Fix url format for no-link service names --- files/usr/local/bin/node-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/usr/local/bin/node-setup b/files/usr/local/bin/node-setup index 099f5545..a91fc810 100755 --- a/files/usr/local/bin/node-setup +++ b/files/usr/local/bin/node-setup @@ -434,7 +434,7 @@ if sf then if proto == "" then proto = "http" end - if link == "" then + if link == "0" then port = "0" end sf:write(string.format("%s://%s:%s/%s|tcp|%s\n", proto, host, port, sffx, name))