tang: tang-show-keys defaults on the default 9090 port
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
parent
148b1b2d5e
commit
46c42d0a76
2 changed files with 7 additions and 4 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=tang
|
||||
PKG_VERSION:=14
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/latchset/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
diff --git a/src/tang-show-keys b/src/tang-show-keys
|
||||
index 0c33c3a..f017e84 100755
|
||||
index 0c33c3a..4b64bda 100755
|
||||
--- a/src/tang-show-keys
|
||||
+++ b/src/tang-show-keys
|
||||
@@ -27,7 +27,7 @@ fi
|
||||
@@ -25,9 +25,9 @@ if [ $# -gt 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
port=${1-80}
|
||||
-port=${1-80}
|
||||
+port=${1-9090}
|
||||
|
||||
-adv=$(curl -sSf "localhost:$port/adv")
|
||||
+adv=$(wget -qO- "http://127.0.0.1:$port/adv")
|
||||
|
|
Loading…
Reference in a new issue