Nexchan commited on
Commit
93a949d
·
verified ·
1 Parent(s): 5d6a460

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +3 -2
index.js CHANGED
@@ -9,9 +9,10 @@ import { promisify } from 'util';
9
  import { createRequire } from 'module';
10
  import { fileURLToPath } from 'url';
11
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
12
-
13
  const require = createRequire(import.meta.url);
14
- const puppeteer = require('puppeteer');
 
15
  const PORT = process.env.PORT || 7860;
16
  const app = express();
17
  const writeFileAsync = promisify(fs.writeFile);
 
9
  import { createRequire } from 'module';
10
  import { fileURLToPath } from 'url';
11
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
12
+ import puppeteer from "puppeteer"
13
  const require = createRequire(import.meta.url);
14
+
15
+
16
  const PORT = process.env.PORT || 7860;
17
  const app = express();
18
  const writeFileAsync = promisify(fs.writeFile);