diff --git a/docs/api-constructor.md b/docs/api-constructor.md index 31bce0fd..57459d56 100644 --- a/docs/api-constructor.md +++ b/docs/api-constructor.md @@ -215,7 +215,7 @@ promises.push( .toFile("optimized-500.webp") ); -// https://github.com/sindresorhus/got#gotstreamurl-options +// https://github.com/sindresorhus/got/blob/main/documentation/3-streams.md got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream); Promise.all(promises) diff --git a/lib/constructor.js b/lib/constructor.js index 33e6ffe1..c4c2f2d7 100644 --- a/lib/constructor.js +++ b/lib/constructor.js @@ -382,7 +382,7 @@ Object.setPrototypeOf(Sharp, stream.Duplex); * .toFile("optimized-500.webp") * ); * - * // https://github.com/sindresorhus/got#gotstreamurl-options + * // https://github.com/sindresorhus/got/blob/main/documentation/3-streams.md * got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream); * * Promise.all(promises)