Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-apm
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
2017-11-28 15:24:56 +0800
Commit
7ba72fbdecc040a421aa8d96ba360aebacff9719
1 parent
7b9e16b7
add server apm
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
.npmrc
app.js
package-lock.json
package.json
.npmrc
0 → 100644
View file @
7ba72fb
phantomjs_cdnurl=http://npm.taobao.org/mirrors/phantomjs
registry=http://npm.yoho.cn
...
...
app.js
View file @
7ba72fb
...
...
@@ -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
;
...
...
package-lock.json
0 → 100644
View file @
7ba72fb
This diff could not be displayed because it is too large.
package.json
View file @
7ba72fb
...
...
@@ -24,7 +24,7 @@
"request-promise"
:
"^4.2.1"
,
"source-map"
:
"^0.5.7"
,
"url"
:
"^0.11.0"
,
"yoho-node-lib"
:
"^0.5.2
2
"
"yoho-node-lib"
:
"^0.5.2
4
"
},
"devDependencies"
:
{
"babel-core"
:
"^6.26.0"
,
...
...
Please
register
or
login
to post a comment