mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-12 22:07:17 +00:00
add /.well-known/security.txt endpoint
resolves #38 adds RFC 9116 machine parsable File Format to Aid in Security Vulnerability Disclosure
This commit is contained in:
parent
efc17a6d3c
commit
8ab1f8375c
4 changed files with 83 additions and 0 deletions
|
@ -351,6 +351,7 @@ func registerRoutes(m *web.Route) {
|
|||
m.Get("/change-password", func(ctx *context.Context) {
|
||||
ctx.Redirect(setting.AppSubURL + "/user/settings/account")
|
||||
})
|
||||
m.Get("/security.txt", securityTxt)
|
||||
})
|
||||
|
||||
m.Group("/explore", func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue