mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
dropbox - load script from local
This commit is contained in:
parent
5dea22c4a3
commit
6cc4c01bad
4 changed files with 4 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ window.Cloud = (function () {
|
|||
},
|
||||
|
||||
async connect(token) {
|
||||
await import("https://unpkg.com/dropbox@10.8.0/dist/Dropbox-sdk.min.js");
|
||||
await import("../../libs/dropbox-sdk.min.js");
|
||||
const auth = new Dropbox.DropboxAuth({clientId: this.clientId});
|
||||
auth.setAccessToken(token);
|
||||
this.api = new Dropbox.Dropbox({auth});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue