This commit is contained in:
Peter Maquiran
2021-07-18 21:21:06 +01:00
parent d79d5fe858
commit 00883d04f7
3 changed files with 5 additions and 15 deletions
+2 -7
View File
@@ -6,16 +6,11 @@ import { AES, enc, SHA1 } from 'crypto-js'
})
export class LocalstoreService {
private prefix = 'v0-'
private prefix = 'v6-'
constructor() {
const key = SHA1('version').toString()
const version = this.prefix.charAt(1)
if(this.get(key, false)) {
// alert('new Update')
}
this.set(key, this.prefix)
}