Explorar el Código

login redirect to portfolio

Daniel Bohry hace 9 meses
padre
commit
c4ebc9b7bd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/routes/login/+page.svelte

+ 1 - 1
src/routes/login/+page.svelte

@@ -59,7 +59,7 @@
 				const result = await response.json();
 				authentication.set(result);
 				localStorage.setItem('authentication', JSON.stringify(result));
-				await goto('/home');
+				await goto('/portfolio');
 			} else {
 				const error = await response.json();
 				console.error('Login failed:', error);