File tree 2 files changed +2
-4
lines changed
app/[locale]/next-data/og
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { ImageResponse } from 'next/og';
2
2
3
3
import HexagonGrid from '@/components/Icons/HexagonGrid' ;
4
4
import JsIconWhite from '@/components/Icons/Logos/JsIconWhite' ;
5
- import { ENABLE_STATIC_EXPORT , VERCEL_ENV } from '@/next.constants.mjs' ;
6
5
import { defaultLocale } from '@/next.locales.mjs' ;
7
6
import tailwindConfig from '@/tailwind.config' ;
8
7
import { hexToRGBA } from '@/util/hexToRGBA' ;
@@ -63,7 +62,7 @@ export const dynamicParams = true;
63
62
64
63
// Enforces that this route is used as static rendering
65
64
// @see https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamic
66
- export const dynamic = ENABLE_STATIC_EXPORT ? 'force-static' : 'auto' ;
65
+ export const dynamic = 'auto' ;
67
66
68
67
// Ensures that this endpoint is invalidated and re-executed every X minutes
69
68
// so that when new deployments happen, the data is refreshed
Original file line number Diff line number Diff line change 28
28
" **/*.tsx" ,
29
29
" .next/types/**/*.ts" ,
30
30
" .storybook/**/*.ts" ,
31
- " .storybook/**/*.tsx" ,
32
- " build/types/**/*.ts"
31
+ " .storybook/**/*.tsx"
33
32
],
34
33
"exclude" : [" node_modules" , " .next" ]
35
34
}
You can’t perform that action at this time.
0 commit comments