Skip to content

Commit

Permalink
refactor: changed the server url to default
Browse files Browse the repository at this point in the history
  • Loading branch information
vj-abishek authored Apr 3, 2021
1 parent 3cf4a5f commit bd90385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Functions/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import io from 'socket.io-client';

const connectionString = window.location.hostname === 'localhost'
? `http://${window.location.hostname}:8080`
: 'https://relp.vsbabuj.repl.co';
: 'https://relp-server1.herokuapp.com/';
const socket = io.connect(connectionString);

export default socket;

1 comment on commit bd90385

@vercel
Copy link

@vercel vercel bot commented on bd90385 Apr 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.