From c7cb6650591f534d504640c197170c3e6d67ff1e Mon Sep 17 00:00:00 2001 From: Lee sang Yeop Date: Tue, 21 Nov 2023 17:36:39 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Config(config):=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EB=90=9C=20=EC=84=9C=EB=B2=84=20=EC=A3=BC=EC=86=8C=EB=A1=9C=20?= =?UTF-8?q?=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/index.ts b/src/config/index.ts index 7ce77fe..4917907 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,5 +1,5 @@ -let SERVER_URL = 'http://3.38.168.158:8080'; -const SOCKET_URL = 'ws://3.38.168.158:8080/ws/websocket'; +let SERVER_URL = 'http://leaguehub.co.kr'; +const SOCKET_URL = 'ws://leaguehub.co.kr/ws/websocket'; if (process.env.NODE_ENV === 'development') { SERVER_URL = 'http://localhost:8080'; From 8aae64f5901e04c1d903b770664d02be0cd6491f Mon Sep 17 00:00:00 2001 From: Lee sang Yeop Date: Tue, 21 Nov 2023 18:05:01 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Fix(JoinLeague):=20=EA=B2=8C=EC=9E=84=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=EB=94=94=20=EC=A1=B0=ED=9A=8C=20=EC=8B=9C=20?= =?UTF-8?q?=ED=8C=8C=EB=9D=BC=EB=AF=B8=ED=84=B0=20=ED=98=95=EC=8B=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20#=EC=9D=80=20=EC=A0=84=EC=86=A1=EC=9D=B4?= =?UTF-8?q?=20=EB=B6=88=EA=B0=80=EB=8A=A5=ED=95=98=EA=B8=B0=EC=97=90=20gam?= =?UTF-8?q?eId/gameTag=20=EC=88=9C=EC=84=9C=EB=A1=9C=20=EC=A0=84=EC=86=A1?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Modal/JoinLeague/JoinLeague.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Modal/JoinLeague/JoinLeague.tsx b/src/components/Modal/JoinLeague/JoinLeague.tsx index dfd26ef..b727732 100644 --- a/src/components/Modal/JoinLeague/JoinLeague.tsx +++ b/src/components/Modal/JoinLeague/JoinLeague.tsx @@ -30,10 +30,8 @@ const JoinLeague = ({ onClose, channelLink }: JoinLeagueProps) => { return; } - const concatGameId = gameIdVal + '#' + gameTagVal; - const userTier: string = ( - await authAPI.get(SERVER_URL + '/api/participant/stat?gameid=' + concatGameId) + await authAPI.get(SERVER_URL + `/api/participant/stat/${gameIdVal}/${gameTagVal}`) ).data.tier; setTier(userTier); setGameId(gameIdVal);