Spaces:
Paused
Paused
Update index.js
Browse files
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 |
-
|
|
|
|
| 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);
|