From 399a0228f2c1b8f702df4f44e641795d57858786 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Wed, 8 Sep 2021 17:41:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=B1=E8=8A=B1=E7=89=B9=E5=88=AB=E7=89=88?= =?UTF-8?q?=E5=8B=BF=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/container.go b/models/container.go index 994843b..5fe59dd 100644 --- a/models/container.go +++ b/models/container.go @@ -553,7 +553,7 @@ func (c *Container) postConfig(handle func(config string) string) error { } func (c *Container) getSession() error { - req := httplib.Post(c.Address + "/auth") + req := httplib.Post(c.Address + "/api/auth") req.Param("username", c.Username) req.Param("password", c.Password) rsp, err := req.Response()