1
0
mirror of https://github.com/mizanxali/uno-online synced 2024-11-24 11:44:52 +00:00

Changed socket.io endpoint to deployed server

This commit is contained in:
Mizanali Panjwani 2021-03-03 04:02:12 +05:30
parent be6f2a5c3a
commit c3360bfbba

View File

@ -21,8 +21,8 @@ import gameOverSound from '../assets/sounds/game-over-sound.mp3'
//DRAW 4 WILD - 600 //DRAW 4 WILD - 600
let socket let socket
const ENDPOINT = 'http://localhost:5000' // const ENDPOINT = 'http://localhost:5000'
// const ENDPOINT = 'https://uno-online-multiplayer.herokuapp.com/' const ENDPOINT = 'https://uno-online-multiplayer.herokuapp.com/'
const Game = (props) => { const Game = (props) => {
const data = queryString.parse(props.location.search) const data = queryString.parse(props.location.search)