Skip to content

Commit

Permalink
feat: lower cutoffDate on start page from 2 weeks to 1 week
Browse files Browse the repository at this point in the history
  • Loading branch information
cdn64 committed Feb 10, 2024
1 parent 5a40df8 commit d152d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface Props {
content: HomeQuery["content"]
}
export const getStaticProps: GetStaticProps<Props> = async () => {
const cutoffDate = DateTime.now().minus({ weeks: 2 }).toISODate()
const cutoffDate = DateTime.now().minus({ weeks: 1 }).toISODate()
const { data } = await client.query({
query: gql(`
query Home($cutoffDate: Date!) {
Expand Down

0 comments on commit d152d2e

Please sign in to comment.