diff --git a/cmd/gogs/web.go b/cmd/gogs/web.go index b19361995..a2cf89df3 100644 --- a/cmd/gogs/web.go +++ b/cmd/gogs/web.go @@ -52,7 +52,7 @@ and it takes care of all the other things for you`, Action: runWeb, Flags: []cli.Flag{ stringFlag("port, p", "3000", "Temporary port number to prevent conflict"), - stringFlag("config, c", "", "Custom configuration file path"), + stringFlag("config, c", filepath.Join(conf.CustomDir(), "conf", "app.ini"), "Custom configuration file path"), }, }