From 7670be90d0011bab526deab68443512d572f08ba Mon Sep 17 00:00:00 2001 From: snakem982 Date: Sat, 2 Nov 2024 21:31:08 +0800 Subject: [PATCH] fix: patch config --- hub/route/configs.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hub/route/configs.go b/hub/route/configs.go index 921a269623..97bd1137e0 100644 --- a/hub/route/configs.go +++ b/hub/route/configs.go @@ -24,6 +24,9 @@ import ( func configRouter() http.Handler { r := chi.NewRouter() r.Get("/", getConfigs) + r.Put("/", updateConfigs) + r.Patch("/", patchConfigs) + return r }