Reaperxxxx commited on
Commit
b1539fe
·
verified ·
1 Parent(s): a206f93

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -0
index.js CHANGED
@@ -3,6 +3,8 @@ const axios = require('axios');
3
  const tough = require('tough-cookie');
4
  const { HttpsCookieAgent } = require('http-cookie-agent/http');
5
  const cheerio = require('cheerio');
 
 
6
 
7
  const app = express();
8
  const PORT = process.env.PORT || 3000;
 
3
  const tough = require('tough-cookie');
4
  const { HttpsCookieAgent } = require('http-cookie-agent/http');
5
  const cheerio = require('cheerio');
6
+ const { File } = require('undici');
7
+ global.File = File;
8
 
9
  const app = express();
10
  const PORT = process.env.PORT || 3000;