mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
view logs
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package dev
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"code.gitea.io/gitea/modules/context"
|
||||
)
|
||||
|
||||
func BuildView(ctx *context.Context) {
|
||||
ctx.HTML(http.StatusOK, "dev/buildview")
|
||||
}
|
||||
+1
-1
@@ -661,7 +661,7 @@ func RegisterRoutes(m *web.Route) {
|
||||
m.Post("/{username}", reqSignIn, context_service.UserAssignmentWeb(), user.Action)
|
||||
|
||||
if !setting.IsProd {
|
||||
m.Any("/dev/termdemo", dev.TermDemo)
|
||||
m.Get("/dev/buildview", dev.BuildView)
|
||||
}
|
||||
|
||||
reqRepoAdmin := context.RequireRepoAdmin()
|
||||
|
||||
Reference in New Issue
Block a user