From bab72fc497d3f00f6279441f70333a117c3c582d Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Tue, 30 Jun 2026 11:33:03 +0100 Subject: [PATCH] docs: fix broken links --- README.md | 4 ++-- lib/send.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 00bcd23..e78ae45 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ application or framework. This is a [Node.js](https://nodejs.org/en/) module available through the [npm registry](https://www.npmjs.com/). Installation is done using the -[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): +[`npm install` command](https://docs.npmjs.com/downloading-and-installing-packages-locally): ```bash $ npm install @fastify/send @@ -119,7 +119,7 @@ system's last modified value. Provide a max-age in milliseconds for HTTP caching, defaults to 0. This can also be a string accepted by the -[ms](https://www.npmjs.org/package/ms#readme) module. +[ms](https://www.npmjs.com/package/ms) module. ##### maxContentRangeChunkSize diff --git a/lib/send.js b/lib/send.js index a0f4a50..975125b 100644 --- a/lib/send.js +++ b/lib/send.js @@ -240,7 +240,7 @@ function isConditionalGET (request) { function isNotModifiedFailure (request, headers) { // Always return stale when Cache-Control: no-cache // to support end-to-end reload requests - // https://tools.ietf.org/html/rfc2616#section-14.9.4 + // https://datatracker.ietf.org/doc/html/rfc2616#section-14.9.4 if ( 'cache-control' in request.headers && request.headers['cache-control'].indexOf('no-cache') !== -1