mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Add go get meta support
This commit is contained in:
parent
3487f17285
commit
5d4025cb5a
13 changed files with 62 additions and 7 deletions
|
@ -427,6 +427,7 @@ func SettingPost(ctx *middleware.Context) {
|
|||
|
||||
ctx.Repo.Repository.Description = ctx.Query("desc")
|
||||
ctx.Repo.Repository.Website = ctx.Query("site")
|
||||
ctx.Repo.Repository.IsGoget = ctx.Query("goget") == "on"
|
||||
if err := models.UpdateRepository(ctx.Repo.Repository); err != nil {
|
||||
ctx.Handle(404, "repo.SettingPost(update)", err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue