mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-12 16:08:48 +00:00
8 lines
212 B
JavaScript
8 lines
212 B
JavaScript
export default async function handler(req, res) {
|
|
try {
|
|
await res.revalidate("/");
|
|
return res.json({ revalidated: true });
|
|
} catch (err) {
|
|
return res.status(500).send("Error revalidating");
|
|
}
|
|
}
|