mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix(version): update API URL
This commit is contained in:
parent
56ffade4e2
commit
9b7d0549d9
1 changed files with 4 additions and 4 deletions
|
@ -14,19 +14,19 @@ const (
|
|||
)
|
||||
|
||||
func GetGithubDevCommitAPIUrl() string {
|
||||
return GetUrl(GithubDevCommitAPI)
|
||||
return CloudflareWorkerAPI + GithubDevCommitAPI
|
||||
}
|
||||
|
||||
func GetGithubLatestReleaseAPIUrl() string {
|
||||
return GetUrl(GithubLatestReleaseAPI)
|
||||
return CloudflareWorkerAPI + GithubLatestReleaseAPI
|
||||
}
|
||||
|
||||
func GetGithubReleasesListAPIUrl() string {
|
||||
return GetUrl(GithubReleasesListAPI)
|
||||
return CloudflareWorkerAPI + GithubReleasesListAPI
|
||||
}
|
||||
|
||||
func GetCloudflareWorkerAPIUrl() string {
|
||||
return GetUrl(CloudflareWorkerAPI)
|
||||
return CloudflareWorkerAPI
|
||||
}
|
||||
|
||||
func GetUrl(path string) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue