Authored by 姜枫

add simple report

@@ -47,6 +47,8 @@ app.use(global.yoho.hbs({ @@ -47,6 +47,8 @@ app.use(global.yoho.hbs({
47 helpers: global.yoho.helpers 47 helpers: global.yoho.helpers
48 })); 48 }));
49 49
  50 +app.use(global.yoho.middleware());
  51 +
50 app.use(favicon(path.join(__dirname, '/public/favicon.ico'))); 52 app.use(favicon(path.join(__dirname, '/public/favicon.ico')));
51 app.use(express.static(path.join(__dirname, 'public'))); 53 app.use(express.static(path.join(__dirname, 'public')));
52 app.use(bodyParser.json()); 54 app.use(bodyParser.json());
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
38 "request-promise": "^3.0.0", 38 "request-promise": "^3.0.0",
39 "serve-favicon": "^2.3.0", 39 "serve-favicon": "^2.3.0",
40 "uuid": "^2.0.3", 40 "uuid": "^2.0.3",
41 - "yoho-node-lib": "0.1.13" 41 + "yoho-node-lib": "0.1.15"
42 }, 42 },
43 "devDependencies": { 43 "devDependencies": {
44 "autoprefixer": "^6.3.7", 44 "autoprefixer": "^6.3.7",