https://github.com/sparcs-kaist/taxi-front/issues/178 이슈를 해결하기 위해 프론트엔드에서 Express 서버와 Socket.io 서버의 주소를 서로 다른 변수로 분리했습니다. 이에 따라 taxi-docker에서 설정할 수 있는 환경 변수도 분리하여 설정할 수 있게 수정하였습니다.
SOCKET_IO_URL 환경변수에 아무 값을 넣지 않으면 클라이언트에서는 BACK_URL 환경변수와 동일한 주소로 소켓 연결을 시도합니다.
Summary
It closes #3
https://github.com/sparcs-kaist/taxi-front/issues/178 이슈를 해결하기 위해 프론트엔드에서 Express 서버와 Socket.io 서버의 주소를 서로 다른 변수로 분리했습니다. 이에 따라 taxi-docker에서 설정할 수 있는 환경 변수도 분리하여 설정할 수 있게 수정하였습니다. SOCKET_IO_URL 환경변수에 아무 값을 넣지 않으면 클라이언트에서는 BACK_URL 환경변수와 동일한 주소로 소켓 연결을 시도합니다.
Extra info
Images
Further Work