Fix: Onedrive sync is broken on Firefox (#854)
* Update lock file * Fix: Onedrive sync is broken on Firefox
This commit is contained in:
parent
0defa94c6e
commit
9f2261ae95
|
@ -1,4 +1,4 @@
|
||||||
/* global chromeLocal promisify */
|
/* global chromeLocal promisify FIREFOX */
|
||||||
/* exported tokenManager */
|
/* exported tokenManager */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
@ -43,7 +43,9 @@ const tokenManager = (() => {
|
||||||
clientSecret: '9Pj=TpsrStq8K@1BiwB9PIWLppM:@s=w',
|
clientSecret: '9Pj=TpsrStq8K@1BiwB9PIWLppM:@s=w',
|
||||||
authURL: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',
|
authURL: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',
|
||||||
tokenURL: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
|
tokenURL: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
|
||||||
redirect_uri: 'https://' + location.hostname + '.chromiumapp.org/',
|
redirect_uri: FIREFOX ?
|
||||||
|
'https://clngdbkpkpeebahjckkjfobafhncgmne.chromiumapp.org/' :
|
||||||
|
'https://' + location.hostname + '.chromiumapp.org/',
|
||||||
scopes: ['Files.ReadWrite.AppFolder', 'offline_access']
|
scopes: ['Files.ReadWrite.AppFolder', 'offline_access']
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Stylus",
|
"name": "Stylus",
|
||||||
"version": "1.5.6",
|
"version": "1.5.8",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user