新增更多部署错误提示

This commit is contained in:
eoao
2026-01-23 00:22:00 +08:00
parent d7c3cf27b0
commit 9f5076e3b5
4 changed files with 52 additions and 20 deletions

View File

@@ -26,6 +26,10 @@ const settingService = {
const setting = await c.env.kv.get(KvConst.SETTING, { type: 'json' });
if (!setting) {
throw new BizError('数据库未初始化 Database not initialized.');
}
let domainList = c.env.domain;
if (typeof domainList === 'string') {