正在显示
1 个修改的文件
包含
3 行增加
和
5 行删除
@@ -18,14 +18,12 @@ app.pushPhase = function (phase) { | @@ -18,14 +18,12 @@ app.pushPhase = function (phase) { | ||
18 | }).then(function (data) { | 18 | }).then(function (data) { |
19 | app.phase(bootable.di.initializers()); | 19 | app.phase(bootable.di.initializers()); |
20 | app.phase(bootable.di.routes('./routes')); | 20 | app.phase(bootable.di.routes('./routes')); |
21 | + IoC.create('igloo/server').then(function (server) { | ||
22 | + app.phase(server); | ||
23 | + }); | ||
21 | }); | 24 | }); |
22 | }; | 25 | }; |
23 | 26 | ||
24 | - | ||
25 | -IoC.create('igloo/server').then(function (server) { | ||
26 | - app.phase(server); | ||
27 | -}); | ||
28 | - | ||
29 | var workaiExpress = { | 27 | var workaiExpress = { |
30 | 'app': app, | 28 | 'app': app, |
31 | 'IoC': IoC, | 29 | 'IoC': IoC, |
请
注册
或
登录
后发表评论