diff --git a/src/main.ts b/src/main.ts index c5f85c2..ede959c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -35,7 +35,7 @@ window.onload = async () => { await updateSW() } // Set localForage drivers try { await localforage.setDriver([ - localforage.WEBSQL, + localforage.INDEXEDDB, localforage.LOCALSTORAGE ]) } catch (e) { @@ -49,10 +49,10 @@ if (params.has('crt')) { } if (params.has('debug')) { ;(function () { - var src = 'https://cdn.jsdelivr.net/npm/eruda'; - document.body.innerHTML += (''); - document.body.innerHTML += ('eruda.init();'); - })(); + let src = 'https://cdn.jsdelivr.net/npm/eruda' + document.body.innerHTML += ('') + document.body.innerHTML += ('eruda.init();') + })() } const auth = (): SpotifyApi => SpotifyApi.withUserAuthorization(