Skip to content

Commit

Permalink
Update docs/basic-features/data-fetching/incremental-static-regenerat…
Browse files Browse the repository at this point in the history
…ion.md

Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
leerob and styfle committed Feb 17, 2022
1 parent faa17f6 commit 76e21b1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -98,7 +98,7 @@ Starting with `v12.1.0`, Next.js supports on-demand Incremental Static Regenerat

Inside `getStaticProps`, you do not need to specify `revalidate` to use on-demand revalidation. If `revalidate` is omitted, Next.js will use the default value of `false` (no revalidation) and only revalidate the page on-demand when `unstable_revalidate` is called.

### Usage
### Using On-Demand Revalidation

First, create a secret token only known by your Next.js app. This secret will be used to prevent unauthorized access to the revalidation API Route. You can access the route (either manually or with a webhook) with the following URL structure:

Expand Down

0 comments on commit 76e21b1

Please sign in to comment.