fix: updater API URL — remove /v1/ prefix, Gitea uses /api/packages/ not /api/v1/packages/
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m6s
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m6s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c782fcc2c3
commit
8b0289d133
@ -75,8 +75,9 @@ func (u *UpdateService) CheckForUpdate() (*UpdateInfo, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fetch latest package version from the Gitea API.
|
// Fetch latest package version from the Gitea API.
|
||||||
|
// Gitea package API — no /v1/ prefix
|
||||||
apiURL := fmt.Sprintf(
|
apiURL := fmt.Sprintf(
|
||||||
"%s/api/v1/packages/%s/generic/%s?limit=1&sort=created_at&direction=desc",
|
"%s/api/packages/%s/generic/%s?limit=1&sort=created_at&direction=desc",
|
||||||
u.baseURL, u.owner, u.pkg,
|
u.baseURL, u.owner, u.pkg,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user