Commit 60e31fcf authored by zhiyan's avatar zhiyan

response

parent 7c4a5318
...@@ -36,9 +36,7 @@ app.get('/wiki/update', function(req, res){ ...@@ -36,9 +36,7 @@ app.get('/wiki/update', function(req, res){
res.end('Hook error') res.end('Hook error')
throw err throw err
} }
process.stderr.write(err) res.end(200)
process.stdout.write(out)
res.writeHead(200)
}) })
}) })
......
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