From 0d769d3400f5199c70ba06205e513452ae34c5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 23 Jun 2024 01:46:14 +0800 Subject: [PATCH] fix: lint --- pkg/tools/tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tools/tools.go b/pkg/tools/tools.go index 199c8db1..423ded68 100644 --- a/pkg/tools/tools.go +++ b/pkg/tools/tools.go @@ -162,7 +162,7 @@ func GetLatestPanelVersion() (PanelInfo, error) { isChina := IsChina() if isChina { - output, err = shell.Execf(`curl -sSL "https://git.haozi.net/api/v4/projects/opensource%2Fpanel/releases/permalink/latest"`) + output, err = shell.Execf(`curl -sSL "https://git.haozi.net/api/v4/projects/opensource%%2Fpanel/releases/permalink/latest"`) } else { output, err = shell.Execf(`curl -sSL "https://api.github.com/repos/TheTNB/panel/releases/latest"`) }