Daniel Bohry 9 месяцев назад
Родитель
Сommit
c4ebc9b7bd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/routes/login/+page.svelte

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

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