silverwolf-x's picture
download
raw
232 Bytes
export default async function exit(_, res) {
// Exit Draft Mode by removing the cookie
res.setDraftMode({ enable: false });
// Redirect the user back to the index page.
res.writeHead(307, { Location: "/" });
res.end();
}

Xet Storage Details

Size:
232 Bytes
·
Xet hash:
a4e3aeec2776e0f91d412fe419694c5f57e2c54d2cb2d0105894a9fe98415add

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