summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-11-14 17:11:30 -0500
committerUnknwon <joe2010xtmf@163.com>2014-11-14 17:11:30 -0500
commit52d66ba6c8b44b4aa28bdc2cd50acba9e22b3e66 (patch)
treea556e4e5241ccf86787097c5f4cb8767fcf06830 /cmd/web.go
parent437dd5272f557ffa3367a70230feeb1aa448b0e4 (diff)
downloadgitea-52d66ba6c8b44b4aa28bdc2cd50acba9e22b3e66.tar.gz
gitea-52d66ba6c8b44b4aa28bdc2cd50acba9e22b3e66.zip
#12, use go-gogs-client
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index acc5cc8f4f..0c62c8c291 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -184,7 +184,7 @@ func runWeb(*cli.Context) {
})
m.Any("/*", func(ctx *middleware.Context) {
- ctx.JSON(404, &base.ApiJsonErr{"Not Found", v1.DOC_URL})
+ ctx.JSON(404, &base.ApiJsonErr{"Not Found", base.DOC_URL})
})
})
})