Skip to content

Commit

Permalink
Merge pull request #130 from interactive-tactical-decision-games/repl…
Browse files Browse the repository at this point in the history
…ace-deprecated-send-with-sendStatus

Replace res.send( 404 ) with res.sendStatus( 404 ) in stream.js
  • Loading branch information
youngca committed Apr 18, 2018
2 parents 575bcab + e01d235 commit 2246a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nodejs/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function OnStreamRequest( request, response, parsedRequest, segments ) {
} else {
fs.stat( file, ( err, stats ) => {
if ( err ) {
response.send( 404 );
response.sendStatus( 404 );
return;
}

Expand Down

0 comments on commit 2246a25

Please sign in to comment.