1
0
Fork 0

Fix settings

master
Marco H 2022-11-09 20:38:15 +01:00
parent 2aa0bc88eb
commit 746d59520b
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
(function(back) { (function(back) {
const SETTINGS_FILE = "slopclockpp.json"; const SETTINGS_FILE = "slopeclockpp.json";
const storage = require('Storage'); const storage = require('Storage');
let settings = Object.assign( let settings = Object.assign(
storage.readJSON("slopclockpp.default.json", true) || {}, storage.readJSON("slopeclockpp.default.json", true) || {},
storage.readJSON(SETTINGS_FILE, true) || {} storage.readJSON(SETTINGS_FILE, true) || {}
); );