Settings: load app settings in their own scope

master
Richard de Boer 2020-04-03 19:56:30 +02:00
parent 361d7b838f
commit c135c70f7e
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ function showAppSettings(app) {
return showError('Missing settings');
}
try {
appSettings = eval(appSettings);
appSettings = eval('('+appSettings+')');
} catch (e) {
console.log(`${app.name} settings error:`, e)
return showError('Error in settings');