mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 14:14:36 -04:00
Show dashbard
This commit is contained in:
parent
414ebe7553
commit
6337d3bf19
3 changed files with 4 additions and 4 deletions
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue