silverwolf-x's picture
download
raw
226 Bytes
export default 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:
226 Bytes
·
Xet hash:
46053a1d32bd8e4c594a7ea677c9ddf913e554dde4272fc31a273df5a35a2229

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