mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: cordis alpha.7
This commit is contained in:
14 files changed
+40
-34
No files matched your search
@@ -130,7 +130,7 @@ export async function load(ctx: Context) {
|
||||
await setting(pending, fail, require('../model/setting'));
|
||||
ctx.plugin(require('../service/server'));
|
||||
ctx = await new Promise((resolve) => {
|
||||
ctx.inject(['server'], (c) => {
|
||||
ctx.inject(['server', 'setting', 'worker'], (c) => {
|
||||
resolve(c);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user