From 55d134c56cfe1fd00f21d35b24957a9db412dadb Mon Sep 17 00:00:00 2001 From: joylili <29298206+joylili@users.noreply.github.com> Date: Wed, 29 Dec 2021 14:09:45 +0800 Subject: [PATCH] Update router.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 路径用 /upload/:chart --- router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router.go b/router.go index 0df0ddb..5bd7eaa 100644 --- a/router.go +++ b/router.go @@ -57,7 +57,7 @@ func RegisterRouter(router *gin.Engine) { // list uploaded charts charts.GET("/upload", listUploadedCharts) // delete chart - charts.DELETE("/:chart", deleteChart) + charts.DELETE("/upload/:chart", deleteChart) } // helm release