Skip to content

Commit

Permalink
feat: get part of day by percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyhm committed Sep 14, 2023
1 parent c27ec97 commit 9f11875
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ app.engine('handlebars', handlebars.engine())
app.set("view engine", "handlebars")
app.set('views', './views');

app.get('/', (req, res) => {
app.get('/', async (req, res) => {

const partOfDayPercentageOfCommits = await getPartOfDayPercentageOfCommits();

res.render("home", {
pageTitle: "MyRepoStats"
})
Expand Down

0 comments on commit 9f11875

Please sign in to comment.