- add HEAD / to make uptime happy.
This commit is contained in:
@@ -39,4 +39,7 @@ func init() {
|
|||||||
beego.Get("/", func(ctx *beecontext.Context) {
|
beego.Get("/", func(ctx *beecontext.Context) {
|
||||||
ctx.WriteString("pong\n")
|
ctx.WriteString("pong\n")
|
||||||
})
|
})
|
||||||
|
beego.Head("/", func(ctx *beecontext.Context) {
|
||||||
|
ctx.WriteString("pong\n")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user