Skip to content

Commit

Permalink
fix: typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
aiji42 committed Aug 6, 2021
1 parent 94d5ba8 commit 70e6042
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const withFortress = require('next-fortress')({
### When Customizing the inspection method
It is possible to self-define the method of inspecting requests.
For `prepare: true`, see [About the file for inspection](#about-the-file-for-inspection).
For `prepared: true`, see [About the file for inspection](#about-the-file-for-inspection).
```js
// next.config.js
Expand All @@ -262,7 +262,7 @@ const withFortress = require('next-fortress')({
// ...controlMode
}
],
prepare: true
prepared: true
})
```
Expand Down Expand Up @@ -295,7 +295,7 @@ This plugin will automatically add `pages/_fortress/[__key].js` when the server
It is used to inspect requests and control responses based on the `forts` you set.
It will always be overwritten on server starts to keep up with changes in the plugin.
If for some reason you want to prevent overwriting (e.g. custom processing), or if you can't create that file automatically (e.g. monorepo configuration), you can switch to manual by adding `parepare: true` to the configuration.
If for some reason you want to prevent overwriting (e.g. custom processing), or if you can't create that file automatically (e.g. monorepo configuration), you can switch to manual by adding `prepared: true` to the configuration.
```js
const withFortress = require('next-fortress')({
forts: [
Expand Down

1 comment on commit 70e6042

@vercel
Copy link

@vercel vercel bot commented on 70e6042 Aug 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.