pagination!

This commit is contained in:
Sean Morley
2024-07-11 19:27:03 -04:00
parent 6713d9ef5d
commit a3784ae164
6 changed files with 157 additions and 85 deletions

View File

@@ -34,8 +34,8 @@ export const actions: Actions = {
}
});
if (res.ok) {
cookies.delete('auth', { path: '/' });
cookies.delete('refresh', { path: '/' });
cookies.delete('auth', { path: '/', secure: false });
cookies.delete('refresh', { path: '/', secure: false });
return redirect(302, '/login');
} else {
return redirect(302, '/');