forked from svrjs/svrjs
Replaced responseEnd() function (which doesn't exist) with res.end() function for now
This commit is contained in:
parent
dd344ecca3
commit
2dda7d73ab
1 changed files with 2 additions and 1 deletions
|
@ -441,7 +441,8 @@ module.exports = (req, res, logFacilities, config, next) => {
|
|||
try {
|
||||
if (err) throw err;
|
||||
res.writeHead(errorCode, http.STATUS_CODES[errorCode], cheaders);
|
||||
responseEnd(
|
||||
//TODO: res.end -> responseEnd
|
||||
res.end(
|
||||
data
|
||||
.toString()
|
||||
.replace(
|
||||
|
|
Reference in a new issue