From 52091e70a21e7fadc1d136fd404882c0269dcbac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B8=AF=E6=AC=A2?= Date: Sun, 24 Dec 2023 16:33:58 +0800 Subject: [PATCH] Update config.go --- internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index f083c6e..6993792 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -27,7 +27,7 @@ func init() { flag.StringVar(&Instance.Cert, "cert", "cert.pem", "tls证书") flag.StringVar(&Instance.PrivKey, "key", "privkey.pem", "tls私钥") flag.StringVar(&Instance.LogPath, "log", "/tmp/proxy.log", "日志文件路径") - flag.StringVar(&Instance.WebPath, "content", "/data", "文件服务器目录") + flag.StringVar(&Instance.WebPath, "content", ".", "文件服务器目录") flag.StringVar(&Instance.BasicAuth, "auth", "", "Basic Auth Header") flag.Parse() initLog()