mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 12:31:24 +01:00
removing uneccesary logs, defer script load
This commit is contained in:
parent
07a232f0fd
commit
6aab6a782c
2 changed files with 1 additions and 4 deletions
|
|
@ -13,7 +13,6 @@
|
|||
window.
|
||||
*/
|
||||
const REDIRECT_URI = window.location.origin + window.location.pathname;
|
||||
console.log('redirect uri:', REDIRECT_URI);
|
||||
const dbxAuth = new Dropbox.DropboxAuth({ clientId: 'sp7tzwm27u2w5ns', });
|
||||
|
||||
const spObj = new URLSearchParams(window.location.search);
|
||||
|
|
@ -37,7 +36,6 @@
|
|||
dbxAuth.getAccessTokenFromCode(REDIRECT_URI, searchParams.code)
|
||||
.then((resp) => {
|
||||
const token = resp.result.access_token;
|
||||
console.log('calling window opener...')
|
||||
window.opener.Cloud.providers.dropbox.setDropBoxToken(token)
|
||||
}).catch((error) => {
|
||||
console.error(error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue