mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
fix the rest of the deprecation warnings
This commit is contained in:
parent
6fad2ca39a
commit
fd1d285a77
6 changed files with 8 additions and 8 deletions
|
@ -55,7 +55,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
|||
ERR(err);
|
||||
|
||||
if(err == "notfound")
|
||||
res.send(404, '404 - Not Found');
|
||||
res.status(404).send('404 - Not Found');
|
||||
else
|
||||
res.send(html);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue