Skip to content

Commit

Permalink
Remove CV.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama committed Oct 10, 2024
1 parent 41df313 commit a0ede36
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/(storyblok)/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion utilities/data/getStoryData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
1 change: 0 additions & 1 deletion utilities/data/getStoryList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a0ede36

Please sign in to comment.