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"`) }