1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 10:07:22 +00:00

Expose Attachemnt Settings by API (#12514)

close #12368
This commit is contained in:
6543
2020-09-05 09:43:06 +02:00
committed by GitHub
parent bab1204db4
commit dba5d82f86
6 changed files with 94 additions and 0 deletions

View File

@ -522,6 +522,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Group("/settings", func() {
m.Get("/ui", settings.GetGeneralUISettings)
m.Get("/api", settings.GetGeneralAPISettings)
m.Get("/attachment", settings.GetGeneralAttachmentSettings)
m.Get("/repository", settings.GetGeneralRepoSettings)
})