mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-10-30 23:01:48 +09:00
tweak boot.js
This commit is contained in:
parent
10f4815d34
commit
f2e91f4d62
@ -56,12 +56,14 @@
|
|||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
//#region Script
|
//#region Script
|
||||||
import(`/assets/${CLIENT_ENTRY}`)
|
window.addEventListener('DOMContentLoaded', () => {
|
||||||
.catch(async e => {
|
import(`/assets/${CLIENT_ENTRY}`)
|
||||||
await checkUpdate();
|
.catch(async e => {
|
||||||
console.error(e);
|
await checkUpdate();
|
||||||
renderError('APP_IMPORT', e);
|
console.error(e);
|
||||||
})
|
renderError('APP_IMPORT', e);
|
||||||
|
});
|
||||||
|
});
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
//#region Theme
|
//#region Theme
|
||||||
|
Loading…
Reference in New Issue
Block a user