From d594f855c5a26f6810a665c79c3c50e9c24228f0 Mon Sep 17 00:00:00 2001 From: Jerry <89069957+Jerry23011@users.noreply.github.com> Date: Sat, 2 Dec 2023 12:02:15 -0800 Subject: [PATCH] fix: tencent api endpoint --- Easydict/Feature/Service/Tencent/TencentService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Easydict/Feature/Service/Tencent/TencentService.swift b/Easydict/Feature/Service/Tencent/TencentService.swift index a127260e0..20cf943b2 100644 --- a/Easydict/Feature/Service/Tencent/TencentService.swift +++ b/Easydict/Feature/Service/Tencent/TencentService.swift @@ -87,7 +87,7 @@ public final class TencentService: QueryService { "ProjectId": 0 ] - let endpoint = "https://cvm.tencentcloudapi.com" + let endpoint = "https://tmt.tencentcloudapi.com" let headers = tencentSignHeader(parameters: parameters, secretId: secretId, secretKey: secretKey) let request = AF.request(endpoint,