mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
changed chose type to direct links
This commit is contained in:
parent
49763d1d06
commit
ea8b13cd95
1 changed files with 1 additions and 3 deletions
|
|
@ -8,9 +8,7 @@ var CloudCommander, DOM, Dropbox; //o7d6llji052vijk
|
|||
CLIENT_ID,
|
||||
DropBoxStore = {},
|
||||
options = {
|
||||
linkType: "preview",
|
||||
// "preview" (default) is a preview link to the document for sharing,
|
||||
// "directLink" is an expiring link to the contents of the file for downloading
|
||||
linkType: "direct",
|
||||
success: function(files) {
|
||||
console.log("Here's the file link:" + files[0].link);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue