soiz1 commited on
Commit
0d19174
·
verified ·
1 Parent(s): 6148fd0

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +5 -5
index.js CHANGED
@@ -1,10 +1,10 @@
1
- import express from 'express';
2
- import fetch from 'node-fetch';
3
- import cheerio from 'cheerio';
4
- import { URL } from 'url';
5
 
6
  const app = express();
7
- const PORT = 7860;
8
 
9
  function absolutize(base, relative) {
10
  try {
 
1
+ const express = require('express');
2
+ const fetch = require('node-fetch');
3
+ const cheerio = require('cheerio');
4
+ const { URL } = require('url');
5
 
6
  const app = express();
7
+ const PORT = 3000;
8
 
9
  function absolutize(base, relative) {
10
  try {