Skip to content

Commit

Permalink
Merge branch 'dev' into Design/#237
Browse files Browse the repository at this point in the history
  • Loading branch information
navyjeongs committed Nov 21, 2023
2 parents fb4cb75 + abc8284 commit 58827da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/components/Modal/JoinLeague/JoinLeague.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/config/index.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 58827da

Please sign in to comment.