Skip to content

Commit 4a9e467

Browse files
committed
test config
1 parent 758a2f9 commit 4a9e467

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
[build.environment]
1313
NEXT_FORCE_EDGE_IMAGES="true"
14+
BUILD_LOCALES="en"
1415

1516
[[headers]]
1617
for = "/*"

src/pages/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ import { getLocaleTimestamp } from "@/lib/utils/time"
6767
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
6868

6969
import {
70-
BASE_TIME_UNIT,
7170
BLOG_FEEDS,
7271
BLOGS_WITHOUT_FEED,
7372
CALENDAR_DISPLAY_COUNT,
@@ -119,7 +118,7 @@ type Props = BasePageProps & {
119118
}
120119

121120
// In seconds
122-
const REVALIDATE_TIME = BASE_TIME_UNIT * 24
121+
const REVALIDATE_TIME = 60
123122

124123
const loadData = dataLoader(
125124
[

0 commit comments

Comments
 (0)