mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
changed chose type to direct links
This commit is contained in:
parent
ba89c9cb39
commit
93128c9f0b
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