mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
To prepare for an upcoming change where `ppr` will be enabled automatically when `dynamicIO` is enabled, we're disabling `dynamicIO` in the global default cache handler test, and using the `useCache` config instead, because `output: 'standalone'` is currently not compatible with PPR.
7 lines
119 B
TypeScript
7 lines
119 B
TypeScript
'use server'
|
|
import { revalidatePath } from 'next/cache'
|
|
|
|
export async function revalidate() {
|
|
revalidatePath('/')
|
|
}
|