Skip to content

Commit

Permalink
Actualizar app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd authored Jan 11, 2025
1 parent 19bcc81 commit 9fa8b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ mongoose.connect(config.database).then(() => {
app.get('/listado', function(req, res) {
TempsDeFlorsService.getTFSpots(config.twitch.roomId).then((spots) => {
const percentage = parseFloat((spots.filter((s) => s.visited).length / spots.length * 100).toFixed(2))
res.render('pages/index',{
res.render('pages/list',{
spots: spots,
url: config.externalUrl,
channel: config.twitch.channels,
Expand Down

0 comments on commit 9fa8b7b

Please sign in to comment.