Untitled
unknown
plain_text
8 months ago
267 B
4
Indexable
const express = require("express");
const http = require("http");
const {Server} = require("socket.io");
const cors = require("cors");
const app = express();
const server = http.createServer(app);
const io = new Server(server, {
cors : {origin : "*"},
});Editor is loading...
Leave a Comment