diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-29 21:16:06 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-29 21:16:06 +0800 |
commit | ecce694d77756264864b03e6b06077592ed1676a (patch) | |
tree | e5bf86b7be0cacc065e940fb5dfcffac2242b347 /web.go | |
parent | 035facc5641e879b693982f6f4ada1d82915da82 (diff) | |
download | gitea-ecce694d77756264864b03e6b06077592ed1676a.tar.gz gitea-ecce694d77756264864b03e6b06077592ed1676a.zip |
issue content ajax preview
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |