phanquocdat123 commited on
Commit
562d9ea
·
verified ·
1 Parent(s): 5e77335

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -265,7 +265,7 @@ app.post('/api/submit-order', async (req, res) => {
265
  });
266
 
267
  // --- KHỞI CHẠY ---
268
- const PORT = process.env.PORT || 3000;
269
  app.listen(PORT, async () => {
270
  try {
271
  const inv = await googleSheets.getInventoryData();
 
265
  });
266
 
267
  // --- KHỞI CHẠY ---
268
+ const PORT = process.env.PORT || 7860;
269
  app.listen(PORT, async () => {
270
  try {
271
  const inv = await googleSheets.getInventoryData();