mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
tweak boot.js
This commit is contained in:
parent
8c9530fb41
commit
e00b4724ac
1 changed files with 8 additions and 6 deletions
|
@ -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 a new issue