Skip to content

Commit

Permalink
fix: add page views
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjoeio committed May 31, 2020
1 parent d200371 commit 23afa80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Hero = () => {
const theme = useTheme()
const date = new Date()

fetch('/.netlify/functions/hello')
fetch('/.netlify/functions/page-views')
.then(response => response.json())
.then(console.log)

Expand Down

0 comments on commit 23afa80

Please sign in to comment.