mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
issue content ajax preview
This commit is contained in:
1
web.go
1
web.go
@@ -95,6 +95,7 @@ func runWeb(*cli.Context) {
|
||||
m.Get("/pulls", reqSignIn, user.Pulls)
|
||||
m.Get("/stars", reqSignIn, user.Stars)
|
||||
m.Get("/help", routers.Help)
|
||||
m.Post("/preview", routers.Preview)
|
||||
|
||||
avt := avatar.CacheServer("public/img/avatar/", "public/img/avatar_default.jpg")
|
||||
m.Get("/avatar/:hash", avt.ServeHTTP)
|
||||
|
Reference in New Issue
Block a user