Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
renzhezhilu committed Aug 16, 2020
1 parent 2a696a7 commit 764e0f5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
29 changes: 29 additions & 0 deletions cdn/v2.1/app2.js

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,15 @@
var Module = {}
</script>
<script>
var version = 'v2.1.333'
var version = 'v2.1.4444'
if (localStorage.getItem('version') !== version) {
localforage.clear()
console.log('版本更新');
setTimeout(() => {
GO()
}, 600);
} else {
GO()
}

function creatScript(src, name) {
Expand Down Expand Up @@ -115,7 +120,7 @@
name: 'wasm-im.wasm'
},
{
url: 'https://cdn.jsdelivr.net/gh/renzhezhilu/webp2jpg-online/cdn/v2.1/app.js',
url: 'https://cdn.jsdelivr.net/gh/renzhezhilu/webp2jpg-online/cdn/v2.1/app2.js',
name: 'wasm-im.js'
},
// {
Expand Down Expand Up @@ -160,6 +165,5 @@
})
})
}
GO()
</script>
</body> </html>

0 comments on commit 764e0f5

Please sign in to comment.