updateCheckService.js Forgejo URL is hard-coded with no env override #57
Labels
No Label
architecture
backend
bug
feature
frontend
priority:critical
priority:high
priority:low
priority:medium
priority:nice-to-have
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/BillTracker#57
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: LOW 🔵
Affected Files
services/updateCheckService.jsProblem
The repo API URL for checking the latest version is a static string:
If the Forgejo server changes, becomes unreachable, or the user is running a self-hosted instance pointing to a different repo, the only escape is to edit source code.
Impact
Fix
Add an env variable with the hard-coded URL as default:
Document in README env vars section.
Acceptance Criteria
UPDATE_CHECK_URLenv variable overrides the default Forgejo URL