diff --git a/.gitignore b/.gitignore index d8e3007..9327f7c 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ app.ini .DS_Store .vscode nekobox +share.yaml diff --git a/internal/cmd/web.go b/internal/cmd/web.go index f806d7f..b040c5e 100644 --- a/internal/cmd/web.go +++ b/internal/cmd/web.go @@ -50,7 +50,7 @@ func runWeb(ctx *cli.Context) error { return errors.Wrap(err, "connect to database") } - shareServers, err := share.LoadServerFromFile("share.yaml") + shareServers, err := share.LoadServerFromFile("./conf/share.yaml") if err != nil { return errors.Wrap(err, "load share server") }