diff --git a/src/App.js b/src/App.js index 3e35e75..a934904 100644 --- a/src/App.js +++ b/src/App.js @@ -190,7 +190,7 @@ class App extends Component { } handleLoginClick = async () => { - const loginRequest = await fetch('https://dev.linx.safemobile.com/api/login', { + const loginRequest = await fetch('https://stage.linx.safemobile.com/api/login', { method: 'POST', headers: { 'Content-Type': 'application/json' @@ -203,7 +203,7 @@ class App extends Component { const loginResponseJson = await loginRequest.json(); this.setState({ user: loginResponseJson.data }, () => { // Connect to HUB - this.setState({ socket: io("https://hub.dev.linx.safemobile.com/", {reconnect:true, transports: ['websocket']}) }, () => { + this.setState({ socket: io("https://hub.stage.linx.safemobile.com/", {reconnect:true, transports: ['websocket']}) }, () => { // socket = this.state.socket; this.state.socket.on('connect', () => { this.setState({ hubStatus: 2 })