Skip to content

Commit

Permalink
changing the comment for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
segunak committed Sep 26, 2024
1 parent ab990b6 commit ba4a3b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charlotte-third-places/app/map/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata: Metadata = {
// See https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration
// Also https://support.airtable.com/docs/getting-started-with-airtables-web-api
// Airtable has API call limits. Can't have every visit pulling new data.
export const revalidate = 43200; // Refresh the data every 12 hours.
export const revalidate = 43200; // Refresh data from Airtable every 12 hours.

export default async function MapPage() {
const places = await getPlaces();
Expand Down
2 changes: 1 addition & 1 deletion charlotte-third-places/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ResponsiveLink } from "@/components/ResponsiveLink";
// See https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration
// Also https://support.airtable.com/docs/getting-started-with-airtables-web-api
// Airtable has API call limits. Can't have every visit pulling new data.
export const revalidate = 43200; // Refresh the data every 12 hours.
export const revalidate = 43200; // Refresh data from Airtable every 12 hours.

export default async function HomePage() {
const places = await getPlaces();
Expand Down

0 comments on commit ba4a3b2

Please sign in to comment.