Преглед на файлове

login redirect to portfolio

Daniel Bohry преди 9 месеца
родител
ревизия
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();
 				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);