Skip to content

Commit

Permalink
examples: minor fixes to some examples
Browse files Browse the repository at this point in the history
closes #3812
  • Loading branch information
Alvin Smith authored and dougwilson committed Dec 18, 2018
1 parent 0ae10bb commit 02f3933
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/downloads/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ app.get('/files/:file(*)', function(req, res, next){

res.download(filePath, function (err) {
if (!err) return; // file sent
if (err && err.status !== 404) return next(err); // non-404 error
if (err.status !== 404) return next(err); // non-404 error
// file for download not found
res.statusCode = 404;
res.send('Cant find that file, sorry!');
Expand Down
2 changes: 1 addition & 1 deletion examples/mvc/public/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body {
padding: 50px;
font: 16px "Helvetica Neue", Helvetica, Arial;
font: 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a {
color: #107aff;
Expand Down
2 changes: 1 addition & 1 deletion examples/static-files/public/js/app.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
foo
// foo

0 comments on commit 02f3933

Please sign in to comment.