From fddd4507057029bf0ee741e63b744862034caf25 Mon Sep 17 00:00:00 2001 From: mbaer3000 Date: Thu, 13 Oct 2016 11:42:15 +0200 Subject: [PATCH] fix middlewares example (#385) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 77d3662..1270880 100644 --- a/README.md +++ b/README.md @@ -269,9 +269,10 @@ Now you can access resources using additional routes. You can add your middlewares from the CLI using `--middlewares` option: ```js -// first.js +// hello.js module.exports = function (req, res, next) { res.header('X-Hello', 'World') + next() } ```