diff --git a/workflow/service/flow/lambda_node.go b/workflow/service/flow/lambda_node.go index 279b4cf..520b973 100644 --- a/workflow/service/flow/lambda_node.go +++ b/workflow/service/flow/lambda_node.go @@ -284,6 +284,7 @@ func VideoModelLambda(ctx context.Context, input any) (any, error) { } urlPrefix, err := utils.GetFileAddressPrefix(ctx) + newS := strings.ReplaceAll(urlPrefix, "http://cdn.redpowerfuture.com", g.Cfg().MustGet(ctx, "minioPrefix").String()) if err != nil { return nil, err } @@ -299,7 +300,7 @@ func VideoModelLambda(ctx context.Context, input any) (any, error) { } else { outputRes = append(outputRes, node.NodeFormField{ Field: fmt.Sprintf("concat_video_url:content:%d", 0), - Value: urlPrefix + msg.FileURL, + Value: newS + msg.FileURL, Label: fmt.Sprintf("concat_video_url:content:%d", 0), Type: "string", })