fast72 commited on
Commit
f9b4217
·
verified ·
1 Parent(s): 395f09f

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -4
index.js CHANGED
@@ -2,7 +2,7 @@ const express = require('express');
2
  const puppeteer = require('puppeteer');
3
 
4
  const app = express();
5
- const PORT = 3000;
6
 
7
  app.get('/get-key', async (req, res) => {
8
  try {
@@ -21,6 +21,4 @@ app.get('/get-key', async (req, res) => {
21
  }
22
  });
23
 
24
- app.listen(PORT, () => {
25
- console.log(`Jalan di http://localhost:${PORT}`);
26
- });
 
2
  const puppeteer = require('puppeteer');
3
 
4
  const app = express();
5
+ const PORT = 7860;
6
 
7
  app.get('/get-key', async (req, res) => {
8
  try {
 
21
  }
22
  });
23
 
24
+ app.listen(PORT)