mirror of https://codeberg.org/forgejo/forgejo.git
Remove doubled function call
This commit is contained in:
parent
a1b1e6c279
commit
d5464a1a9b
|
@ -769,7 +769,6 @@ func registerRoutes(m *web.Route) {
|
|||
m.Post("/-/starlist_edit", web.Bind(forms.EditStarListForm{}), user.EditStarListPost)
|
||||
}, context.UserAssignmentWeb())
|
||||
m.Get("/attachments/{uuid}", repo.GetAttachment)
|
||||
m.Get("/{username}", user.UsernameSubRoute)
|
||||
m.Methods("GET, OPTIONS", "/attachments/{uuid}", optionsCorsHandler(), repo.GetAttachment)
|
||||
}, ignSignIn)
|
||||
|
||||
|
|
Loading…
Reference in New Issue