From d64f099f8ed116c3af961b106674bfce4275dc6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 10 Nov 2024 08:37:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=91=E5=B8=83v2.3.18?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/bootstrap/conf.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/bootstrap/conf.go b/internal/bootstrap/conf.go index 7c96ef0e..2ce7e24e 100644 --- a/internal/bootstrap/conf.go +++ b/internal/bootstrap/conf.go @@ -29,8 +29,9 @@ func initGlobal() { if len(app.Key) != 32 { log.Fatalf("app key must be 32 characters") } + app.Root = app.Conf.MustString("app.root") - app.Version = "2.3.17" + app.Version = "2.3.18" app.Locale = app.Conf.MustString("app.locale") // 初始化时区