Skip to content

Commit

Permalink
修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Nov 13, 2017
1 parent c7dae72 commit c50942b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@
<input id="file-selector" type="file">
<script src="dist/cos-js-sdk-v5.min.js"></script>
<script>
var Bucket = 'test-1250000000';
var AppId = '1250000000';
var Bucket = 'test';
var Region = 'ap-guangzhou';
// 初始化实例
var cos = new COS({
AppId: AppId,
getAuthorization: function (options, callback) {
// 异步获取签名
$.get('../server/auth.php', {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cos-js-sdk-v5",
"version": "0.2.1",
"version": "0.2.2",
"description": "cos js sdk v5",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c50942b

Please sign in to comment.