ka1kuk commited on
Commit
75e9048
β€’
1 Parent(s): 7f6fb3f

Rename server.js to app.js

Browse files
Files changed (1) hide show
  1. server.js β†’ app.js +4 -4
server.js β†’ app.js RENAMED
@@ -1,7 +1,7 @@
1
- import express from "express"
2
- import cors from 'cors'
3
- import yahooFinance from 'yahoo-finance2'
4
- import fetch from "node-fetch"
5
 
6
  const app = express();
7
  const PORT = 3001;
 
1
+ const express = require('express');
2
+ const cors = require('cors');
3
+ const yahooFinance = require('yahoo-finance2').default;
4
+ const fetch = require('node-fetch');
5
 
6
  const app = express();
7
  const PORT = 3001;