You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
All: Added dev sync target and option to select it in mobile
This commit is contained in:
@ -24,8 +24,9 @@ parameters_.prod = {
|
||||
},
|
||||
};
|
||||
|
||||
function parameters() {
|
||||
let output = parameters_[Setting.value('env')];
|
||||
function parameters(env = null) {
|
||||
if (env === null) env = Setting.value('env');
|
||||
let output = parameters_[env];
|
||||
if (Setting.value('isDemo')) {
|
||||
output.oneDrive = output.oneDriveDemo;
|
||||
}
|
||||
|
Reference in New Issue
Block a user