From 5de6b660f2f4c9ca1cfff5eb969fb33d0ef5117f Mon Sep 17 00:00:00 2001 From: yuyamionini <46483865+yuyamionini@users.noreply.github.com> Date: Fri, 15 Aug 2025 21:25:57 +0800 Subject: [PATCH] fix(terabox): user not exists error (#1056) * fix user location error when upload file --- drivers/terabox/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/terabox/driver.go b/drivers/terabox/driver.go index a5b94577..3c9d265c 100644 --- a/drivers/terabox/driver.go +++ b/drivers/terabox/driver.go @@ -132,7 +132,7 @@ func (d *Terabox) Remove(ctx context.Context, obj model.Obj) error { func (d *Terabox) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, up driver.UpdateProgress) error { resp, err := base.RestyClient.R(). SetContext(ctx). - Get("https://d.terabox.com/rest/2.0/pcs/file?method=locateupload") + Get("https://" + d.url_domain_prefix + "-data.terabox.com/rest/2.0/pcs/file?method=locateupload") if err != nil { return err }