From 4c77e515f1e10b9f819bb79a66731062e8f99740 Mon Sep 17 00:00:00 2001 From: E99p1ant Date: Wed, 13 Dec 2023 01:48:48 +0800 Subject: [PATCH] cmd(web): update share.yaml path --- .gitignore | 1 + internal/cmd/web.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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") }