Fix localStorage path

Removed extra `/`
This commit is contained in:
Jiiks 2017-01-22 20:01:17 +02:00
parent fcfd75346b
commit 604ec38101
2 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@
let __data = {};
if(__fs.existsSync(`${__dataPath}/localStorage.json`)) {
if(__fs.existsSync(`${__dataPath}localStorage.json`)) {
try {
__data = JSON.parse(__fs.readFileSync(`${__dataPath}/localStorage.json`))
__data = JSON.parse(__fs.readFileSync(`${__dataPath}localStorage.json`))
}catch(err) {
console.log(err);
}

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long