From 35367de6941672acdd9742cbe086cd015cd76190 Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 23 Apr 2026 11:01:28 +0800 Subject: [PATCH] docs: fix typo in serve-index docs --- _includes/readmes/serve-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/readmes/serve-index.md b/_includes/readmes/serve-index.md index f720b0d950..730cdd3386 100644 --- a/_includes/readmes/serve-index.md +++ b/_includes/readmes/serve-index.md @@ -26,7 +26,7 @@ var serveIndex = require('serve-index') ### serveIndex(path, options) -Returns middlware that serves an index of the directory in the given `path`. +Returns middleware that serves an index of the directory in the given `path`. The `path` is based off the `req.url` value, so a `req.url` of `'/some/dir` with a `path` of `'public'` will look at `'public/some/dir'`. If you are using