Fixed path issues
This commit is contained in:
		@@ -27,7 +27,7 @@ let shuttingDown = false;
 | 
				
			|||||||
	});
 | 
						});
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app.get('/', errorHandler(async (req, res) => {
 | 
					app.get('*', errorHandler(async (req, res) => {
 | 
				
			||||||
	const results = await Promise.all(environment.tickers.map(ticker =>
 | 
						const results = await Promise.all(environment.tickers.map(ticker =>
 | 
				
			||||||
		fetch(`https://finnhub.io/api/v1/quote?symbol=${ticker}&token=${environment.token}`)
 | 
							fetch(`https://finnhub.io/api/v1/quote?symbol=${ticker}&token=${environment.token}`)
 | 
				
			||||||
			.then(resp => resp.json())));
 | 
								.then(resp => resp.json())));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user