You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Fixed RN text field and gave different OneDrive token to demo
This commit is contained in:
@ -7,6 +7,10 @@ parameters_.dev = {
|
||||
id: 'cbabb902-d276-4ea4-aa88-062a5889d6dc',
|
||||
secret: 'YSvrgQMqw9NzVqgiLfuEky1',
|
||||
},
|
||||
oneDriveDemo: {
|
||||
id: '606fd4d7-4dfb-4310-b8b7-a47d96aa22b6',
|
||||
secret: 'qabchuPYL7931$ePDEQ3~_$',
|
||||
},
|
||||
};
|
||||
|
||||
parameters_.prod = {
|
||||
@ -14,10 +18,18 @@ parameters_.prod = {
|
||||
id: 'e09fc0de-c958-424f-83a2-e56a721d331b',
|
||||
secret: 'JA3cwsqSGHFtjMwd5XoF5L5',
|
||||
},
|
||||
oneDriveDemo: {
|
||||
id: '606fd4d7-4dfb-4310-b8b7-a47d96aa22b6',
|
||||
secret: 'qabchuPYL7931$ePDEQ3~_$',
|
||||
},
|
||||
};
|
||||
|
||||
function parameters() {
|
||||
return parameters_[Setting.value('env')];
|
||||
let output = parameters_[Setting.value('env')];
|
||||
if (Setting.value('isDemo')) {
|
||||
output.oneDrive = output.oneDriveDemo;
|
||||
}
|
||||
return output;
|
||||
}
|
||||
|
||||
export { parameters }
|
Reference in New Issue
Block a user