Configure Next.js site
Configure on-demand Revalidation for a Next.js site
Vist your Next.js site configuration page on Drupal to configure on-demand revalidation.
- Visit
/admin/config/services/next
. - Click Edit next to your site.
- Click On-demand Revalidation.
- Fill in the following values:
- Revalidate URL:
http://localhost:3000/api/revalidate
- Revalidate secret:
secret
- Click Save