mirror of
https://github.com/beego/bee.git
synced 2025-06-23 18:50:25 +00:00
modify the init code
This commit is contained in:
@ -120,8 +120,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
beego.BeeApp.RegisterController("/", &controllers.MainController{})
|
||||
beego.BeeApp.Run()
|
||||
beego.RegisterController("/", &controllers.MainController{})
|
||||
beego.Run()
|
||||
}
|
||||
|
||||
`
|
||||
|
Reference in New Issue
Block a user