Fix test:ci error in app.js.

Signed-off-by: tarlety <tarlety@gmail.com>
This commit is contained in:
tarlety 2020-05-02 00:31:34 +08:00
parent 09eb8556db
commit 6c4fd144f5
No known key found for this signature in database
GPG Key ID: A5C0B56BA29AE637
1 changed files with 2 additions and 2 deletions

4
app.js
View File

@ -59,8 +59,8 @@ var server = createHttpServer()
// API and process monitoring with Prometheus for Node.js micro-service
app.use(apiMetrics({
metricsPath: "/metrics/router",
excludeRoutes: ["/metrics/codimd"]
metricsPath: '/metrics/router',
excludeRoutes: ['/metrics/codimd']
}))
// logger