Skip to content

Commit 9b7d054

Browse files
committed
fix(version): update API URL
1 parent 56ffade commit 9b7d054

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/version/url.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ const (
1414
)
1515

1616
func GetGithubDevCommitAPIUrl() string {
17-
return GetUrl(GithubDevCommitAPI)
17+
return CloudflareWorkerAPI + GithubDevCommitAPI
1818
}
1919

2020
func GetGithubLatestReleaseAPIUrl() string {
21-
return GetUrl(GithubLatestReleaseAPI)
21+
return CloudflareWorkerAPI + GithubLatestReleaseAPI
2222
}
2323

2424
func GetGithubReleasesListAPIUrl() string {
25-
return GetUrl(GithubReleasesListAPI)
25+
return CloudflareWorkerAPI + GithubReleasesListAPI
2626
}
2727

2828
func GetCloudflareWorkerAPIUrl() string {
29-
return GetUrl(CloudflareWorkerAPI)
29+
return CloudflareWorkerAPI
3030
}
3131

3232
func GetUrl(path string) string {

0 commit comments

Comments
 (0)