From 307d43a0bf0e56bb9596f1ba003846b38205ae45 Mon Sep 17 00:00:00 2001 From: oikkoikk Date: Wed, 4 Oct 2023 17:51:16 +0900 Subject: [PATCH] Fix : task-definition --- src/components/gnb/NavBar.tsx | 1 - src/hooks/useAuth.ts | 4 ---- task-definition.json | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/gnb/NavBar.tsx b/src/components/gnb/NavBar.tsx index c662b25..9c545b9 100644 --- a/src/components/gnb/NavBar.tsx +++ b/src/components/gnb/NavBar.tsx @@ -30,7 +30,6 @@ export default function NavBar({ logo, profileDropdown }: Props) { const profileButtonClickHandler = async () => { if (isEditMode) { - console.log('updateUserProfile') mutate(); await update({ ...session, name }); } diff --git a/src/hooks/useAuth.ts b/src/hooks/useAuth.ts index 44310a2..866ddf6 100644 --- a/src/hooks/useAuth.ts +++ b/src/hooks/useAuth.ts @@ -19,8 +19,6 @@ export default function useAuth() { const silentRefresh = async () => { const response = await fetchUserAuthWithRefreshToken(refreshToken) .then(async (res) => { - //TODO: 로그 추후 삭제 - console.log('silent refresh! response: ', res); await update(res); return res; }) @@ -43,8 +41,6 @@ export default function useAuth() { }); const login = async (googleResponse: GoogleLoginCredential) => { - //TODO: 로그 추후 삭제 - console.log('구글 토큰', googleResponse); if (!googleResponse) return; await signIn('credentials', { diff --git a/task-definition.json b/task-definition.json index 876a2b0..20e1222 100644 --- a/task-definition.json +++ b/task-definition.json @@ -16,7 +16,7 @@ "entryPoint": null, "portMappings": [ { - "hostPort": 3000, + "hostPort": 443, "protocol": "tcp", "containerPort": 3000 }