From 0c2e7a57660cf0ebae1c2ab7d2128124ba8e8a03 Mon Sep 17 00:00:00 2001 From: Jacky Date: Wed, 30 Oct 2024 09:28:44 +0800 Subject: [PATCH] fix: failed to sync config due to route path error #685 --- internal/config/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/sync.go b/internal/config/sync.go index 640cc192..b675a9d7 100644 --- a/internal/config/sync.go +++ b/internal/config/sync.go @@ -130,7 +130,7 @@ func (p *SyncConfigPayload) deploy(env *model.Environment, c *model.Config, payl client := http.Client{ Transport: t, } - url, err := env.GetUrl("/api/config") + url, err := env.GetUrl("/api/configs") if err != nil { return }