From 29b3cd49a03bccfdf2c65f2d80eb2aa9ba7c6104 Mon Sep 17 00:00:00 2001 From: attacker Date: Fri, 19 Jun 2026 01:26:44 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20r.Static=20?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=90=8D=E5=92=8C=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/api/routes/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/api/routes/routes.go b/backend/internal/api/routes/routes.go index e595f42..6f67a8a 100644 --- a/backend/internal/api/routes/routes.go +++ b/backend/internal/api/routes/routes.go @@ -459,7 +459,7 @@ func Register(r *gin.Engine, db *gorm.DB, log *zap.Logger, cfg *config.Config, c } // Agent 二进制下载(无需鉴权,Agent 升级时使用) - router.Static("/agent/bin", "/app/agent/bin") + r.Static("/agent/bin", "/app/agent/bin") // AI 智能助手 - LLM 配置 + 对话代理(OpenAI 兼容) // Logan.Li llmHandler := handlers.NewLLMHandler(db)