mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
https://github.com/vercel/next.js/security/advisories/GHSA-4633-3j49-mh5q Co-authored-by: Karim Rahal <[email protected]>
10 lines
199 B
JavaScript
10 lines
199 B
JavaScript
import { revalidateTag } from 'next/cache'
|
|
|
|
export async function POST() {
|
|
await revalidateTag('variable-revalidate-edge-post-method-iterable', {
|
|
expire: 0,
|
|
})
|
|
|
|
return new Response('ok')
|
|
}
|