mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-01-18 20:01:26 +08:00
*
This commit is contained in:
6
main.go
6
main.go
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println(os.Args[0])
|
||||
|
||||
commands.RegisterDataBase()
|
||||
commands.RegisterModel()
|
||||
commands.RegisterLogger()
|
||||
@@ -18,8 +18,8 @@ func main() {
|
||||
commands.RegisterFunction()
|
||||
|
||||
beego.SetStaticPath("uploads","uploads")
|
||||
|
||||
|
||||
|
||||
fmt.Println(os.Args[0])
|
||||
|
||||
beego.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user