silverwolf-x's picture
download
raw
285 Bytes
export default async function handler(req, res) {
try {
await res.revalidate(req.query.path)
return res.json({ revalidated: true, now: Date.now() })
} catch (err) {
console.error('Failed to revalidate', req.query, err)
return res.json({ revalidated: false })
}
}

Xet Storage Details

Size:
285 Bytes
·
Xet hash:
f91e27b6887b5a75f77dc3033838f5e7d25d5b0aed12daa77675fe5eea8bfb5f

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