tweak boot.js

This commit is contained in:
syuilo 2022-07-14 22:04:16 +09:00
parent 8c9530fb41
commit e00b4724ac

View file

@ -56,12 +56,14 @@
//#endregion //#endregion
//#region Script //#region Script
window.addEventListener('DOMContentLoaded', () => {
import(`/assets/${CLIENT_ENTRY}`) import(`/assets/${CLIENT_ENTRY}`)
.catch(async e => { .catch(async e => {
await checkUpdate(); await checkUpdate();
console.error(e); console.error(e);
renderError('APP_IMPORT', e); renderError('APP_IMPORT', e);
}) });
});
//#endregion //#endregion
//#region Theme //#region Theme