mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-20 14:00:04 +02:00
Support Editorconfig on web editor
This commit is contained in:
parent
47a3243ff1
commit
9ac46fb983
7 changed files with 53 additions and 3 deletions
|
@ -290,6 +290,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
|||
Patch(reqRepoWriter(), bind(api.EditMilestoneOption{}), repo.EditMilestone).
|
||||
Delete(reqRepoWriter(), repo.DeleteMilestone)
|
||||
})
|
||||
m.Get("/editorconfig/:filename", context.RepoRef(), repo.GetEditorconfig)
|
||||
}, repoAssignment())
|
||||
}, reqToken())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue