소스 검색

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);