Commit 0cd99977 authored by wu-lee's avatar wu-lee

serve.js - log the status code into the metadata correctly

parent 5b490926
......@@ -59,7 +59,7 @@ app.all('*', (req, res, next) => {
method: req.method,
url: req.url,
ip: req.ip,
code: res.code,
code: res.statusCode,
app.get('/', (req, res) => {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment