This commit is contained in:
MuslemRahimi 2024-08-28 10:13:27 +02:00
parent 0267701d93
commit ee1fc4b98c

View File

@ -53,7 +53,7 @@ export const actions = {
} }
redirect(301, '/home'); redirect(301, '/pricing');
}, },
register: async ({ locals, request }) => { register: async ({ locals, request }) => {
@ -107,7 +107,7 @@ export const actions = {
error(err.status, err.message); error(err.status, err.message);
} }
redirect(301, "/home"); redirect(301, "/pricing");
}, },
@ -157,7 +157,7 @@ export const actions = {
maxAge: 60*60 maxAge: 60*60
}); });
cookies.set('path', "/home", {httpOnly: true, cookies.set('path', "/pricing", {httpOnly: true,
sameSite: 'lax', sameSite: 'lax',
secure: true, secure: true,
path: '/', path: '/',