Skip to content

Commit

Permalink
Update start.md
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Dec 25, 2020
1 parent 64d7877 commit 00fb9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csp/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 00fb9f1

Please sign in to comment.