add agents.md and login and tag bugfix

This commit is contained in:
Garret Patti
2026-07-06 12:48:27 -04:00
parent 6233bbf8d1
commit 6847042664
3 changed files with 73 additions and 3 deletions

View File

@@ -3,7 +3,12 @@ import type { Actions } from './$types';
export const actions: Actions = {
default: ({ cookies }) => {
cookies.delete('session', { path: '/' });
cookies.delete('session', {
path: '/',
httpOnly: true,
sameSite: 'strict',
secure: process.env.SECURE_COOKIES === 'true'
});
redirect(303, '/');
}
};