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
1 changed files with 2 additions and 2 deletions

View File

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