silverwolf-x's picture
download
raw
225 Bytes
import { revalidatePath } from 'next/cache'
export async function GET(request: Request) {
const path = new URL(request.url).searchParams.get('path')!
revalidatePath(path)
return Response.json({ revalidated: true })
}

Xet Storage Details

Size:
225 Bytes
·
Xet hash:
a99205f79928342ee555f2700b9d2671fdd9a2f39223c57671710622d46a37c7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.