Untitled

 avatar
unknown
plain_text
2 months ago
267 B
3
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