This commit is contained in:
xiaojunnuo
2024-10-10 17:50:04 +08:00
parent 81fac736f9
commit 0e4b72c65d
5 changed files with 24 additions and 14 deletions
@@ -37,6 +37,12 @@ const development = {
'/': '/index.html',
},
},
// '/index.html': {
// maxAge: 0,
// },
// '/': {
// maxAge: 0,
// },
},
},
cron: {
@@ -54,7 +54,11 @@ export class AutoInitSite {
}
// 授权许可
await this.plusService.verify();
try {
await this.plusService.verify();
} catch (e) {
logger.error('授权许可验证失败', e);
}
logger.info('初始化站点完成');
}