From 67d7c8a1834932f12e4cc0e07bd3064d57d091bc Mon Sep 17 00:00:00 2001 From: MinhoJJang Date: Fri, 16 Aug 2024 15:19:06 +0900 Subject: [PATCH 1/3] hotfix: fix dockerfile typo * ARG -> ENV --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f05a5142..d3129f46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ ARG NEXT_PUBLIC_KAKAO_API_KEY ENV NEXT_PUBLIC_SERVER_URL=${NEXT_PUBLIC_SERVER_URL} ENV NEXTAUTH_SECRET=${NEXTAUTH_SECRET} ENV NEXTAUTH_URL=${NEXTAUTH_URL} -ARG NEXT_PUBLIC_KAKAO_API_KEY=${NEXT_PUBLIC_KAKAO_API_KEY} +ENV NEXT_PUBLIC_KAKAO_API_KEY=${NEXT_PUBLIC_KAKAO_API_KEY} # Set node environment to production ENV NODE_ENV=production From 647f06f0b0c90163eedb2b24c880a53c6625c8e3 Mon Sep 17 00:00:00 2001 From: MinhoJJang Date: Fri, 16 Aug 2024 16:40:27 +0900 Subject: [PATCH 2/3] hotfix: hardcoding --- src/app/_hooks/Axios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/_hooks/Axios.ts b/src/app/_hooks/Axios.ts index 919d9645..842d5eb1 100644 --- a/src/app/_hooks/Axios.ts +++ b/src/app/_hooks/Axios.ts @@ -4,7 +4,7 @@ import { cookies } from 'next/headers'; import { useNavigate } from 'react-router-dom'; const api = axios.create({ - baseURL: process.env.NEXT_PUBLIC_SERVER_URL, + baseURL: 'http://was.dkation.com', withCredentials: true, }); From 28a4cde435311d0d3f79f63e0833e97e5bb4813b Mon Sep 17 00:00:00 2001 From: MinhoJJang Date: Fri, 16 Aug 2024 17:27:55 +0900 Subject: [PATCH 3/3] hotfix: baseURL = https://was.dkation.com --- src/app/_hooks/Axios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/_hooks/Axios.ts b/src/app/_hooks/Axios.ts index 842d5eb1..fb4bfdbc 100644 --- a/src/app/_hooks/Axios.ts +++ b/src/app/_hooks/Axios.ts @@ -4,7 +4,7 @@ import { cookies } from 'next/headers'; import { useNavigate } from 'react-router-dom'; const api = axios.create({ - baseURL: 'http://was.dkation.com', + baseURL: 'https://was.dkation.com', withCredentials: true, });