This commit is contained in:
Fabian Stamm 2017-06-20 14:17:04 +02:00
parent bdabac2623
commit 49d584e989
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ db.defaults({}).write();
const httpp = require("http");
var http = httpp.createServer();
const io = require("socket.io");
var ioClient = require("socket.io-client")("http://192.168.1.22:5000", { reconect: true });
var ioClient = require("socket.io-client")("http://192.168.1.142:5000", { reconect: true });
ioClient.on("connect", () => {
console.log("connected");
});

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@ db.defaults({}).write();
import * as httpp from "http";
var http = httpp.createServer();
import io = require("socket.io");
var ioClient = require("socket.io-client")("http://192.168.1.22:5000", {reconect:true});
var ioClient = require("socket.io-client")("http://192.168.1.142:5000", {reconect:true});
ioClient.on("connect", ()=>{
console.log("connected");
})