ka1kuk commited on
Commit
6ff823a
1 Parent(s): 48b4ed2

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -2
app.js CHANGED
@@ -13,8 +13,7 @@ app.use(express.json());
13
 
14
  app.get('/', (req, res) => {
15
  res.setHeader('Content-Type', 'text/plain');
16
- res.end('This is Yahoo finance api');
17
- res.end('Search : /api/search/:<symbol/name>')
18
  res.end('Quote : /api/quote/:<symbol>')
19
  res.end('Chart : /api/chart/:<symbol>?interval=<interval>&range=<range>')
20
  res.end('Summary : /api/summary/:<symbol>')
 
13
 
14
  app.get('/', (req, res) => {
15
  res.setHeader('Content-Type', 'text/plain');
16
+ res.end('This is Yahoo finance api' \n 'Search : /api/search/:<symbol/name>');
 
17
  res.end('Quote : /api/quote/:<symbol>')
18
  res.end('Chart : /api/chart/:<symbol>?interval=<interval>&range=<range>')
19
  res.end('Summary : /api/summary/:<symbol>')