soiz1 commited on
Commit
dc1562a
·
verified ·
1 Parent(s): 60a327f

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -1,7 +1,7 @@
1
  const { Server } = require("socket.io");
2
 
3
  // Node.js 18+ならfetchは標準搭載
4
- const port = process.env.PORT || 3000;
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: "*",