Replaced "res.end()" with "res.send()".