File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/[locale]/next-data/api-data Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { deflateSync } from 'node:zlib' ;
22
3- import getReleaseData from '@/next-data/releaseData' ;
3+ import provideReleaseData from '@/next-data/providers /releaseData' ;
44import { VERCEL_REVALIDATE } from '@/next.constants.mjs' ;
55import { defaultLocale } from '@/next.locales.mjs' ;
66import type { GitHubApiFile } from '@/types' ;
@@ -14,7 +14,7 @@ const getPathnameForApiFile = (name: string, version: string) =>
1414// for a digest and metadata of all API pages from the Node.js Website
1515// @see https://nextjs.org/docs/app/building-your-application/routing/router-handlers
1616export const GET = async ( ) => {
17- const releases = await getReleaseData ( ) ;
17+ const releases = provideReleaseData ( ) ;
1818
1919 const { versionWithPrefix } = releases . find ( release =>
2020 [ 'Active LTS' , 'Maintenance LTS' ] . includes ( release . status )
You can’t perform that action at this time.
0 commit comments