From fafbadef0ca6665fd43e87e5a1d250c59be1947a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E7=9D=BF=20=E5=BC=A0?= Date: Fri, 9 Oct 2026 14:19:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=86=E5=90=8E=E7=AB=AF=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E6=96=87=E4=BB=B6=E6=B3=A8=E9=87=8A=E7=BF=BB=E8=AF=91?= =?UTF-8?q?=E4=B8=BA=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/server/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index e909a9fc..86c320c1 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -23,7 +23,7 @@ func main() { } defer database.Close() - // Initialize users table and create default users + // 初始化用户表并创建默认用户 if err := repository.InitUserTable(); err != nil { log.Fatalf("Failed to initialize users table: %v", err) } @@ -42,7 +42,7 @@ func main() { registerFrontendRoutes(r, "./frontend/dist") - // Serve uploaded files + // 提供上传的文件 r.Static("/uploads", "./uploads") h := handler.NewHandler()