---
if(Astro.cookies.has('sessionToken')) {
    Astro.cookies.delete('sessionToken');
}

if(Astro.cookies.has('username')) {
    Astro.cookies.delete('username');
}

if(Astro.cookies.has('userid')) {
    Astro.cookies.delete('userid');
}

if(Astro.cookies.has('planetid')) {
    Astro.cookies.delete('planetid');
}

return Astro.redirect('/');
---