fix(version): update GitHub API

This commit is contained in:
Jacky 2025-05-03 10:09:57 +00:00
parent 563d344252
commit 174f8baf18
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ import (
) )
const ( const (
GithubDevCommitAPI = "https://api.github.com/repos/0xJacky/nginx-ui/commits/dev?per_page=1" GithubDevCommitAPI = "https://cloud.nginxui.com/https://api.github.com/repos/0xJacky/nginx-ui/commits/dev?per_page=1"
CloudflareWorkerAPI = "https://cloud.nginxui.com" CloudflareWorkerAPI = "https://cloud.nginxui.com"
) )

View file

@ -10,8 +10,8 @@ import (
) )
const ( const (
GithubLatestReleaseAPI = "https://api.github.com/repos/0xJacky/nginx-ui/releases/latest" GithubLatestReleaseAPI = "https://cloud.nginxui.com/https://api.github.com/repos/0xJacky/nginx-ui/releases/latest"
GithubReleasesListAPI = "https://api.github.com/repos/0xJacky/nginx-ui/releases" GithubReleasesListAPI = "https://cloud.nginxui.com/https://api.github.com/repos/0xJacky/nginx-ui/releases"
) )
type ReleaseType string type ReleaseType string