Reaperxxxx commited on
Commit
5db4ad2
·
verified ·
1 Parent(s): 862d3d1

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +6 -6
app.js CHANGED
@@ -1,8 +1,8 @@
1
- const express = require('express');
2
- const axios = require('axios');
3
- const cheerio = require('cheerio');
4
- const tough = require('tough-cookie');
5
- const { wrapper } = require('axios-cookiejar-support');
6
 
7
  const app = express();
8
  app.use(express.json());
@@ -309,4 +309,4 @@ app.listen(PORT, () => {
309
  console.log('='.repeat(50) + '\n');
310
  });
311
 
312
- module.exports = app;
 
1
+ import express from 'express';
2
+ import axios from 'axios';
3
+ import * as cheerio from 'cheerio';
4
+ import tough from 'tough-cookie';
5
+ import { wrapper } from 'axios-cookiejar-support';
6
 
7
  const app = express();
8
  app.use(express.json());
 
309
  console.log('='.repeat(50) + '\n');
310
  });
311
 
312
+ export default app;