mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-07 20:33:28 +00:00
update
This commit is contained in:
parent
a0380d24e3
commit
8c900edef6
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Updater {
|
|||
};
|
||||
|
||||
async getHtml() {
|
||||
const html = await fetch('/').then(res => res.text());//读取index html
|
||||
const html = await fetch('/?v=' + (new Date()).getTime() ).then(res => res.text());//读取index html
|
||||
return html
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue