asdasd
This commit is contained in:
parent
bdabac2623
commit
49d584e989
@ -9,7 +9,7 @@ db.defaults({}).write();
|
|||||||
const httpp = require("http");
|
const httpp = require("http");
|
||||||
var http = httpp.createServer();
|
var http = httpp.createServer();
|
||||||
const io = require("socket.io");
|
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", () => {
|
ioClient.on("connect", () => {
|
||||||
console.log("connected");
|
console.log("connected");
|
||||||
});
|
});
|
||||||
|
File diff suppressed because one or more lines are too long
@ -10,7 +10,7 @@ db.defaults({}).write();
|
|||||||
import * as httpp from "http";
|
import * as httpp from "http";
|
||||||
var http = httpp.createServer();
|
var http = httpp.createServer();
|
||||||
import io = require("socket.io");
|
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", ()=>{
|
ioClient.on("connect", ()=>{
|
||||||
console.log("connected");
|
console.log("connected");
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user