From 0c5dfddc048d380c52b6adf4a37d3c08dd2a18e8 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 22 Nov 2024 10:12:57 +0000 Subject: [PATCH] docs(readme): update send links (#482) --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 10ce88e..27450c5 100644 --- a/README.md +++ b/README.md @@ -153,17 +153,17 @@ where the arguments are: #### `send` Options The following options are also supported and will be passed directly to the -[`send`](https://www.npmjs.com/package/send) module: - -- [`acceptRanges`](https://www.npmjs.com/package/send#acceptranges) -- [`cacheControl`](https://www.npmjs.com/package/send#cachecontrol) (Enable or disable setting Cache-Control response header, defaults to true. **Important:** If you want to provide a custom Cache-Control response header, this option must be false.) -- [`dotfiles`](https://www.npmjs.com/package/send#dotfiles) -- [`etag`](https://www.npmjs.com/package/send#etag) -- [`extensions`](https://www.npmjs.com/package/send#extensions) -- [`immutable`](https://www.npmjs.com/package/send#immutable) -- [`index`](https://www.npmjs.com/package/send#index) -- [`lastModified`](https://www.npmjs.com/package/send#lastmodified) -- [`maxAge`](https://www.npmjs.com/package/send#maxage) +[`@fastify/send`](https://www.npmjs.com/package/@fastify/send) module: + +- [`acceptRanges`](https://www.npmjs.com/package/@fastify/send#acceptranges) +- [`cacheControl`](https://www.npmjs.com/package/@fastify/send#cachecontrol) (Enable or disable setting Cache-Control response header, defaults to true. **Important:** If you want to provide a custom Cache-Control response header, this option must be false.) +- [`dotfiles`](https://www.npmjs.com/package/@fastify/send#dotfiles) +- [`etag`](https://www.npmjs.com/package/@fastify/send#etag) +- [`extensions`](https://www.npmjs.com/package/@fastify/send#extensions) +- [`immutable`](https://www.npmjs.com/package/@fastify/send#immutable) +- [`index`](https://www.npmjs.com/package/@fastify/send#index) +- [`lastModified`](https://www.npmjs.com/package/@fastify/send#lastmodified) +- [`maxAge`](https://www.npmjs.com/package/@fastify/send#maxage) You're able to alter this options when calling `reply.download('filename.html', options)` or `reply.download('filename.html', 'otherfilename.html', options)` on each response to a request.