We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db96c3 commit 6e11d46Copy full SHA for 6e11d46
pages/courses/[...slug].tsx
@@ -193,8 +193,6 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
193
modules,
194
currentModule,
195
},
196
- // Revalidate every hour (or adjust as needed)
197
- revalidate: 3600,
198
};
199
} catch (err) {
200
console.error(`Error loading module ${moduleSlug}:`, err);
@@ -216,7 +214,6 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
216
214
217
215
currentModule: { slug: courseSlug, title: frontmatter.title || 'Course Overview' }
218
219
220
221
222
console.error(`Error loading course ${courseSlug}:`, err);
0 commit comments