From 1cdd943a185a7cba658f32a566d5146eeeb2a735 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Tue, 25 Jul 2023 11:24:35 +0800 Subject: [PATCH] test: StatusTemporaryRedirect -> StatusFound Signed-off-by: withchao <993506633@qq.com> --- internal/api/third.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/third.go b/internal/api/third.go index 7de0493e0..5bd38a5e8 100644 --- a/internal/api/third.go +++ b/internal/api/third.go @@ -95,5 +95,5 @@ func (o *ThirdApi) ObjectRedirect(c *gin.Context) { c.String(http.StatusInternalServerError, err.Error()) return } - c.Redirect(http.StatusTemporaryRedirect, resp.Url) + c.Redirect(http.StatusFound, resp.Url) }