Sk0lovek commited on
Commit
997f8a8
·
verified ·
1 Parent(s): 8f298d2

Update server.ts

Browse files
Files changed (1) hide show
  1. server.ts +1 -1
server.ts CHANGED
@@ -15,7 +15,7 @@ const io = new Server(httpServer, {
15
  },
16
  });
17
 
18
- const PORT = 3000;
19
 
20
  let bot: mineflayer.Bot | null = null;
21
  let ai: GoogleGenAI | null = null;
 
15
  },
16
  });
17
 
18
+ const PORT = Number(process.env.PORT) || 7860;
19
 
20
  let bot: mineflayer.Bot | null = null;
21
  let ai: GoogleGenAI | null = null;