From dc36e64f4ca3b177a0cd471d8206376ee9c121f6 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Wed, 12 May 2021 12:37:46 +0800 Subject: [PATCH] opt some --- base/web/share.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/web/share.go b/base/web/share.go index 7337e43c..224bf375 100644 --- a/base/web/share.go +++ b/base/web/share.go @@ -19,6 +19,9 @@ func _share_domain(m *ice.Message) string { if link == "" { link = m.Cmd(SPACE, SPIDE_DEV, kit.SSH_PWD).Append(kit.MDB_LINK) } + if link == "" { + link = m.Cmd(SPACE, SPIDE_SHY, kit.SSH_PWD).Append(kit.MDB_LINK) + } if link == "" { link = kit.Format("http://%s:%s", m.Cmd(tcp.HOST).Append(tcp.IP), m.Cmd(SERVE).Append(tcp.PORT)) }