add agents.md and login and tag bugfix
This commit is contained in:
@@ -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, '/');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user