Fixed path issues
All checks were successful
Build and publish / Git Tag (push) Successful in 3s
Build and publish / Build Container (push) Successful in 18s

This commit is contained in:
Zakary Timson 2025-04-17 12:21:41 -04:00
parent f89b1721f9
commit 9d0a0a9cab

View File

@ -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 =>
fetch(`https://finnhub.io/api/v1/quote?symbol=${ticker}&token=${environment.token}`)
.then(resp => resp.json())));