Authored by htoooth

add server apm

phantomjs_cdnurl=http://npm.taobao.org/mirrors/phantomjs
registry=http://npm.yoho.cn
... ...
... ... @@ -20,7 +20,7 @@ const middleware = require('./middleware');
app.post('/write', middleware.serverApm);
app.get('/apm/yas.gif', middleware.apm);
app.get('/yas.gif', middleware.apm);
app.use('*', (req, res) => {
res.statusCode = 404;
... ...
This diff could not be displayed because it is too large.
... ... @@ -24,7 +24,7 @@
"request-promise": "^4.2.1",
"source-map": "^0.5.7",
"url": "^0.11.0",
"yoho-node-lib": "^0.5.22"
"yoho-node-lib": "^0.5.24"
},
"devDependencies": {
"babel-core": "^6.26.0",
... ...