From f16ee05f599de27e777ac2b736c3bf820a19bd7b Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 24 Mar 2022 10:02:40 +0900 Subject: [PATCH] Fix typo in docs (#35561) The following files have been modified. - `docs/api-reference/next.config.js/rewrites.md` - `docs/basic-features/script.md` ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` --- docs/api-reference/next.config.js/rewrites.md | 2 +- docs/basic-features/script.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api-reference/next.config.js/rewrites.md b/docs/api-reference/next.config.js/rewrites.md index 47571668dfb2..946dec86981c 100644 --- a/docs/api-reference/next.config.js/rewrites.md +++ b/docs/api-reference/next.config.js/rewrites.md @@ -323,7 +323,7 @@ module.exports = { } ``` -If you're using `trailingSlash: true`, you also need to insert a trailing slash in the `source` paramater. If the destination server is also expecting a trailing slash it should be included in the `destination` parameter as well. +If you're using `trailingSlash: true`, you also need to insert a trailing slash in the `source` parameter. If the destination server is also expecting a trailing slash it should be included in the `destination` parameter as well. ```js module.exports = { diff --git a/docs/basic-features/script.md b/docs/basic-features/script.md index b08be05800e0..1f9806415d43 100644 --- a/docs/basic-features/script.md +++ b/docs/basic-features/script.md @@ -166,7 +166,7 @@ There are a number of trade-offs that need to be considered when loading a third Although the `worker` strategy does not require any additional configuration to work, Partytown supports the use of a config object to modify some of its settings, including enabling `debug` mode and forwarding events and triggers. -If you would like to add additonal configuration options, you can include it within the `` component used in a [custom `_document.js`](/docs/advanced-features/custom-document.md): +If you would like to add additional configuration options, you can include it within the `` component used in a [custom `_document.js`](/docs/advanced-features/custom-document.md): ```jsx import { Html, Head, Main, NextScript } from 'next/document'