2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 03:22:32 +08:00

fix: test

This commit is contained in:
耗子
2024-06-23 03:19:13 +08:00
parent d9be877710
commit eed03d644f

View File

@@ -281,7 +281,7 @@ func GetPanelVersion(version string) (PanelInfo, error) {
}
if isChina {
output, err = shell.Execf(`curl -sSL "https://git.haozi.net/api/v4/projects/opensource%2Fpanel/releases/` + version + `"`)
output, err = shell.Execf(`curl -sSL "https://git.haozi.net/api/v4/projects/opensource%%2Fpanel/releases/` + version + `"`)
} else {
output, err = shell.Execf(`curl -sSL "https://api.github.com/repos/TheTNB/panel/releases/tags/` + version + `"`)
}