bug fixes

This commit is contained in:
undefined committed 2025-03-25 00:57:56 +08:00
1 parent 68e641f28f
commit 62fb745322
15 files changed
+23 -163

No files matched your search

+1 -2
View File
@@ -8,7 +8,7 @@ import { load as loadOptions } from '../options';
import { MongoService } from '../service/db';
import { ConfigService } from '../settings';
import {
addon, builtinModel, model, service, setting,
addon, builtinModel, model, service,
} from './common';
const argv = cac().parse();
@@ -125,7 +125,6 @@ export async function load(ctx: Context) {
ctx.plugin(require('../service/worker'));
await builtinModel(ctx);
await model(pending, fail, ctx);
await setting(pending, fail, require('../model/setting'));
ctx.plugin(require('../service/server'));
ctx = await new Promise((resolve) => {
ctx.inject(['server', 'setting', 'worker'], (c) => {