新增更多部署错误提示
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user