正在显示
2 个修改的文件
包含
2 行增加
和
11 行删除
@@ -16,15 +16,6 @@ app.phase(bootable.di.routes('./routes')); | @@ -16,15 +16,6 @@ app.phase(bootable.di.routes('./routes')); | ||
16 | 16 | ||
17 | IoC.create('igloo/server').then(function (server) { | 17 | IoC.create('igloo/server').then(function (server) { |
18 | app.phase(server); | 18 | app.phase(server); |
19 | - // app.boot(function (err) { | ||
20 | - | ||
21 | - // if (err) { | ||
22 | - // console.log(err); | ||
23 | - // process.exit(-1); | ||
24 | - // return; | ||
25 | - // } | ||
26 | - | ||
27 | - // }); | ||
28 | }); | 19 | }); |
29 | 20 | ||
30 | 21 |
1 | { | 1 | { |
2 | "name": "workai-express", | 2 | "name": "workai-express", |
3 | - "version": "0.0.0", | 3 | + "version": "0.0.1", |
4 | "private": true, | 4 | "private": true, |
5 | "scripts": { | 5 | "scripts": { |
6 | "start": "node --inspect ./app " | 6 | "start": "node --inspect ./app " |
7 | }, | 7 | }, |
8 | - "main": "./lib", | 8 | + "main": "index.js", |
9 | "dependencies": { | 9 | "dependencies": { |
10 | "asyncawait": "^1.0.8", | 10 | "asyncawait": "^1.0.8", |
11 | "bluebird": "^3.5.4", | 11 | "bluebird": "^3.5.4", |
请
注册
或
登录
后发表评论