mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Show dashbard
This commit is contained in:
2
serve.go
2
serve.go
@ -45,6 +45,7 @@ gogs serv provide access auth for repositories`,
|
||||
}
|
||||
|
||||
func init() {
|
||||
os.MkdirAll("log", os.ModePerm)
|
||||
log.NewLogger(10000, "file", fmt.Sprintf(`{"filename":"%s"}`, "log/serv.log"))
|
||||
}
|
||||
|
||||
@ -72,7 +73,6 @@ func runServ(k *cli.Context) {
|
||||
base.NewConfigContext()
|
||||
models.LoadModelsConfig()
|
||||
models.NewEngine()
|
||||
base.NewLogService()
|
||||
|
||||
keys := strings.Split(os.Args[2], "-")
|
||||
if len(keys) != 2 {
|
||||
|
Reference in New Issue
Block a user