From 0df572f9ebce9dba92c69cfe61d2322c003293e6 Mon Sep 17 00:00:00 2001 From: FDKevin Date: Thu, 9 Dec 2021 15:33:09 +0800 Subject: [PATCH] feat(srun): set default internet check endpoint --- pkg/srun/portal.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/srun/portal.go b/pkg/srun/portal.go index 09ab149..8424deb 100644 --- a/pkg/srun/portal.go +++ b/pkg/srun/portal.go @@ -14,6 +14,7 @@ func New(endpoint, acID string) *PortalServer { acID: acID, jsonpCallback: "jQuery112403771213770126085_" + timestampStr, timestampStr: timestampStr, + internetCheck: "http://www.baidu.com", } }