From 00fb9f1ac59c88f130c9ac377e02d32ee727be3d Mon Sep 17 00:00:00 2001 From: carsonxu <459452372@qq.com> Date: Fri, 25 Dec 2020 15:08:27 +0800 Subject: [PATCH] Update start.md --- csp/start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csp/start.md b/csp/start.md index 3aa6865..64f0760 100644 --- a/csp/start.md +++ b/csp/start.md @@ -40,7 +40,7 @@ var Region = 'ap-guangzhou'; var cos = new COS({ CompatibilityMode: true, ServiceDomain: 'http://cos.default.xxx.com', // 这里替换成 getService 域名 - Domain: 'http://{Bucket}.cos.{Region}.xxx.com', 这里替换成 API 域名格式模板 + Domain: 'http://{Bucket}.cos.{Region}.xxx.com', // 这里替换成 API 域名格式模板 getAuthorization: function (options, callback) { var url = './auth-json.php?method=' + options.Method + '&path=' + encodeURIComponent('/' + options.Key); var xhr = new XMLHttpRequest();