修正端口到3001

This commit is contained in:
2025-09-18 23:53:15 +08:00
parent a8a7947942
commit 139245792f
5 changed files with 58 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const app = express();
const PORT = process.env.PORT || 3001;
const PORT = process.env.PORT || 3010;
const server = createServer(app);
const io = new SocketIOServer(server, {
cors: {