You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Various changes
This commit is contained in:
23
ReactNativeClient/lib/parameters.js
Normal file
23
ReactNativeClient/lib/parameters.js
Normal file
@ -0,0 +1,23 @@
|
||||
import { Setting } from 'lib/models/setting.js';
|
||||
|
||||
const parameters_ = {};
|
||||
|
||||
parameters_.dev = {
|
||||
oneDrive: {
|
||||
id: 'cbabb902-d276-4ea4-aa88-062a5889d6dc',
|
||||
secret: 'YSvrgQMqw9NzVqgiLfuEky1',
|
||||
},
|
||||
};
|
||||
|
||||
parameters_.prod = {
|
||||
oneDrive: {
|
||||
id: 'e09fc0de-c958-424f-83a2-e56a721d331b',
|
||||
secret: 'JA3cwsqSGHFtjMwd5XoF5L5',
|
||||
},
|
||||
};
|
||||
|
||||
function parameters() {
|
||||
return parameters_[Setting.value('env')];
|
||||
}
|
||||
|
||||
export { parameters }
|
Reference in New Issue
Block a user