From 61588df778b9b0b68098b66774c83e06cc28095c Mon Sep 17 00:00:00 2001 From: Greg Fletcher <45293706+fletcher-greg@users.noreply.github.com> Date: Tue, 9 Jul 2019 20:38:25 +0200 Subject: [PATCH] fixed grammar: removed middlewares (#36392) * fix: Improved grammar Replaced 'middlewares' to 'middleware functions'. Middleware is an uncountable noun, just like 'software'. No such word as 'softwares' * Update curriculum/challenges/english/05-apis-and-microservices/basic-node-and-express/serve-static-assets.english.md Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com> --- .../basic-node-and-express/serve-static-assets.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/05-apis-and-microservices/basic-node-and-express/serve-static-assets.english.md b/curriculum/challenges/english/05-apis-and-microservices/basic-node-and-express/serve-static-assets.english.md index e2af793870..da065182b1 100644 --- a/curriculum/challenges/english/05-apis-and-microservices/basic-node-and-express/serve-static-assets.english.md +++ b/curriculum/challenges/english/05-apis-and-microservices/basic-node-and-express/serve-static-assets.english.md @@ -6,7 +6,7 @@ challengeType: 2 ## Description
-An HTML server usually has one or more directories that are accessible by the user. You can place there the static assets needed by your application (stylesheets, scripts, images). In Express, you can put in place this functionality using the middleware express.static(path), where the `path parameter is the absolute path of the folder containing the assets. If you don’t know what middleware is... don’t worry, we will discuss in detail later. Basically, middlewares are functions that intercept route handlers, adding some kind of information. A middleware needs to be mounted using the method app.use(path, middlewareFunction). The first path argument is optional. If you don’t pass it, the middleware will be executed for all requests. +An HTML server usually has one or more directories that are accessible by the user. You can place there the static assets needed by your application (stylesheets, scripts, images). In Express, you can put in place this functionality using the middleware express.static(path), where the path parameter is the absolute path of the folder containing the assets. If you don’t know what middleware is... don’t worry, we will discuss in detail later. Basically, middleware are functions that intercept route handlers, adding some kind of information. A middleware needs to be mounted using the method app.use(path, middlewareFunction). The first path argument is optional. If you don’t pass it, the middleware will be executed for all requests.
## Instructions