From a0ede3680908d841ff9f45dbdff865d9d9113736 Mon Sep 17 00:00:00 2001 From: Shea McKinney Date: Thu, 10 Oct 2024 13:11:34 -0700 Subject: [PATCH] Remove CV. --- app/(storyblok)/[[...slug]]/page.tsx | 1 - utilities/data/getStoryData.ts | 1 - utilities/data/getStoryList.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/app/(storyblok)/[[...slug]]/page.tsx b/app/(storyblok)/[[...slug]]/page.tsx index 7b6d95c8..73ab7dff 100644 --- a/app/(storyblok)/[[...slug]]/page.tsx +++ b/app/(storyblok)/[[...slug]]/page.tsx @@ -61,7 +61,6 @@ export async function generateStaticParams() { const storyblokApi: StoryblokClient = getStoryblokApi(); let sbParams: ISbStoriesParams = { version: isProd ? 'published' : 'draft', - // cv: isProd ? undefined : Date.now(), resolve_links: '0', resolve_assets: 0, per_page: 100, diff --git a/utilities/data/getStoryData.ts b/utilities/data/getStoryData.ts index 12ce9431..c80c0119 100644 --- a/utilities/data/getStoryData.ts +++ b/utilities/data/getStoryData.ts @@ -13,7 +13,6 @@ async function getStoryData({ path, isEditor = false }: getStoryDataProps): Prom let sbParams: ISbStoriesParams = { version: isProd && !isEditor ? 'published' : 'draft', - // cv: isProd ? undefined : Date.now(), resolve_relations: resolveRelations, }; diff --git a/utilities/data/getStoryList.ts b/utilities/data/getStoryList.ts index 2b071541..c24c3f02 100644 --- a/utilities/data/getStoryList.ts +++ b/utilities/data/getStoryList.ts @@ -40,7 +40,6 @@ async function getStoryList({ path }: getStoryDataProps) { // For more related documentation see app/(storyblok)/[[...slug]]/page.tsx const sbParams: ISbStoriesParams = { version: isProd ? 'published' : 'draft', - // cv: isProd ? undefined : Date.now(), starts_with: `${getSlugPrefix()}/stories/`, sort_by: 'first_published_at:desc', per_page: 100,