Skip to content
Permalink
Browse files

examples: minor fixes to some examples

closes #3812
  • Loading branch information...
A1vinSmith authored and dougwilson committed Nov 29, 2018
1 parent 0ae10bb commit 02f3933b6962114cf46c637105db7983d32a156a
Showing with 3 additions and 3 deletions.
  1. +1 −1 examples/downloads/index.js
  2. +1 −1 examples/mvc/public/style.css
  3. +1 −1 examples/static-files/public/js/app.js
@@ -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!');
@@ -1,6 +1,6 @@
body {
padding: 50px;
font: 16px "Helvetica Neue", Helvetica, Arial;
font: 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a {
color: #107aff;
@@ -1 +1 @@
foo
// foo

0 comments on commit 02f3933

Please sign in to comment.
You can’t perform that action at this time.