Update index.js
Browse files
index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
const { Server } = require("socket.io");
|
| 2 |
|
| 3 |
// Node.js 18+ならfetchは標準搭載
|
| 4 |
-
const port =
|
| 5 |
const io = new Server(port, {
|
| 6 |
cors: {
|
| 7 |
origin: "*",
|
|
|
|
| 1 |
const { Server } = require("socket.io");
|
| 2 |
|
| 3 |
// Node.js 18+ならfetchは標準搭載
|
| 4 |
+
const port = 7860;
|
| 5 |
const io = new Server(port, {
|
| 6 |
cors: {
|
| 7 |
origin: "*",
|