From 11efa753bd84a2a2904cd6e487657c58ffaad2ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 10:31:30 -0500 Subject: [PATCH] update external docs (#1721) Co-authored-by: Create or Update Pull Request Action --- _includes/readmes/morgan.md | 11 ++++++++++- _includes/readmes/multer.md | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/_includes/readmes/morgan.md b/_includes/readmes/morgan.md index fd8387ce6a..cc6379790c 100644 --- a/_includes/readmes/morgan.md +++ b/_includes/readmes/morgan.md @@ -105,9 +105,10 @@ There are various pre-defined formats provided: ##### combined Standard Apache combined log output. - ``` :remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version" :status :res[content-length] ":referrer" ":user-agent" +# will output +::1 - - [27/Nov/2024:06:21:42 +0000] "GET /combined HTTP/1.1" 200 2 "-" "curl/8.7.1" ``` ##### common @@ -116,6 +117,8 @@ Standard Apache common log output. ``` :remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version" :status :res[content-length] +# will output +::1 - - [27/Nov/2024:06:21:46 +0000] "GET /common HTTP/1.1" 200 2 ``` ##### dev @@ -127,6 +130,8 @@ for information codes. ``` :method :url :status :response-time ms - :res[content-length] +# will output +GET /dev 200 0.224 ms - 2 ``` ##### short @@ -135,6 +140,8 @@ Shorter than default, also including response time. ``` :remote-addr :remote-user :method :url HTTP/:http-version :status :res[content-length] - :response-time ms +# will output +::1 - GET /short HTTP/1.1 200 2 - 0.283 ms ``` ##### tiny @@ -143,6 +150,8 @@ The minimal output. ``` :method :url :status :res[content-length] - :response-time ms +# will output +GET /tiny 200 2 - 0.188 ms ``` #### Tokens diff --git a/_includes/readmes/multer.md b/_includes/readmes/multer.md index 677bc937ab..a52a9aabce 100644 --- a/_includes/readmes/multer.md +++ b/_includes/readmes/multer.md @@ -81,7 +81,7 @@ app.post('/profile', upload.none(), function (req, res, next) { }) ``` -Here's an example on how multer is used an HTML form. Take special note of the `enctype="multipart/form-data"` and `name="uploaded_file"` fields: +Here's an example on how multer is used in a HTML form. Take special note of the `enctype="multipart/form-data"` and `name="uploaded_file"` fields: ```html