From f1695df463f4db81e0919a7cee0b071775ab4bf8 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Fri, 3 Jan 2025 16:38:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B7=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E5=8F=8A=E6=9B=B4=E6=96=B0=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=A2=9E=E5=88=A0=E6=94=B9?= =?UTF-8?q?=E6=9F=A5=E6=8E=A5=E5=8F=A3=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=8A=9F=E8=83=BD.=E6=B7=BB=E5=8A=A0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E6=B7=BB=E5=8A=A0=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/file.go b/handler/file.go index 3885dbd..2c43032 100644 --- a/handler/file.go +++ b/handler/file.go @@ -15,7 +15,7 @@ func SetUpFileGroup(router *gin.Engine) { fileGroup.POST("/config_update", UpdateConfigFile) fileGroup.POST("/config_search", SearchConfigFile) fileGroup.POST("/upload", UploadFileV2) - fileGroup.GET("/:filename", GetFile) + fileGroup.GET("/general/:filename", GetFile) }