Hardcode the repository releases come from
routerUpdate.repository (a module option beside the update keys, not a router.* setting) defaults to the project's repository; the Updates page names it but no longer has a field for it. Forks and tests set it in a module. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -341,7 +341,6 @@ func (a *app) routes() http.Handler {
|
||||
mux.HandleFunc("POST /update/url", a.auth(a.updateSaveURL))
|
||||
mux.HandleFunc("POST /update/check", a.auth(a.updateCheck))
|
||||
mux.HandleFunc("POST /update/install", a.auth(a.updateInstall))
|
||||
mux.HandleFunc("POST /update/repository", a.auth(a.updateSaveRepository))
|
||||
mux.HandleFunc("POST /update/gitcheck", a.auth(a.updateGitCheck))
|
||||
mux.HandleFunc("POST /update/gitinstall", a.auth(a.updateGitInstall))
|
||||
mux.HandleFunc("POST /update/upload", a.updateUpload)
|
||||
|
||||
Reference in New Issue
Block a user