mirror of https://github.com/beego/bee.git
modify the init code
This commit is contained in:
parent
257e25bbc1
commit
43a508309b
|
@ -120,8 +120,8 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
beego.BeeApp.RegisterController("/", &controllers.MainController{})
|
||||
beego.BeeApp.Run()
|
||||
beego.RegisterController("/", &controllers.MainController{})
|
||||
beego.Run()
|
||||
}
|
||||
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue