Skip to content

Commit

Permalink
cmd(web): update share.yaml path
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhan005 committed Dec 12, 2023
1 parent 5ebf269 commit 4c77e51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ app.ini
.DS_Store
.vscode
nekobox
share.yaml
2 changes: 1 addition & 1 deletion internal/cmd/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 4c77e51

Please sign in to comment.