diff --git a/.github/workflows/blue-green-cd.yml b/.github/workflows/blue-green-cd.yml index 0d68b29d..4497b2d8 100644 --- a/.github/workflows/blue-green-cd.yml +++ b/.github/workflows/blue-green-cd.yml @@ -2,8 +2,8 @@ name: Blue/Green CD for Backend on: push: - paths: ["backend/**"] - branches: ["release", "*hotfix*"] + #paths: ["backend/**"] + #branches: ["release", "*hotfix*"] env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} diff --git a/frontend/src/business/hooks/auth/useKakaoOAuthRedirect.ts b/frontend/src/business/hooks/auth/useKakaoOAuthRedirect.ts index cd0452b8..42d51cff 100644 --- a/frontend/src/business/hooks/auth/useKakaoOAuthRedirect.ts +++ b/frontend/src/business/hooks/auth/useKakaoOAuthRedirect.ts @@ -9,13 +9,11 @@ export function useKakaoOAuthRedirect() { const navigate = useNavigate(); const code = new URLSearchParams(window.location.search).get('code'); - const headerOptions = isProdctionMode() ? { SameSite: 'None', Secure: true } : {}; - const login = async () => { const res = await axios.get(KAKAO_LOGIN_URL, { params: { code }, withCredentials: true, - headers: headerOptions, + headers: isProdctionMode() ? { SameSite: 'None' } : {}, }); if (!res || res.status !== 200) {