fix: failed to sync config due to route path error #685

This commit is contained in:
Jacky 2024-10-30 09:28:44 +08:00
parent 97492c71b2
commit 0c2e7a5766
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D

View file

@ -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
}