Skip to content

Commit

Permalink
Update csp.html
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Nov 9, 2018
1 parent 86c2673 commit 5fd0e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csp/csp.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1>cos-js-sdk-v5</h1>
// Domain: 'http://{Bucket}.cos.{Region}.example.com', // 前缀式

getAuthorization: function (options, callback) {
var url = './auth-json.php?method=' + options.Method + '&pathname=' + encodeURIComponent(options.Key);
var url = './auth-json.php?method=' + options.Method + '&path=' + encodeURIComponent(options.Key);
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.onload = function (e) {
Expand Down Expand Up @@ -659,4 +659,4 @@ <h1>cos-js-sdk-v5</h1>
</script>

</body>
</html>
</html>

0 comments on commit 5fd0e3c

Please sign in to comment.