File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ const nextConfig = {
4949 DEVELOPER_DOCS_ : process . env . NEXT_PUBLIC_DEVELOPER_DOCS ,
5050 } ,
5151 redirects,
52+ // https://github.com/vercel/next.js/discussions/48324#discussioncomment-10748690
53+ cacheHandler : require . resolve (
54+ 'next/dist/server/lib/incremental-cache/file-system-cache.js'
55+ ) ,
5256} ;
5357
5458module . exports = withSentryConfig ( nextConfig , {
Original file line number Diff line number Diff line change @@ -26,11 +26,7 @@ async function resolveOpenAPI(): Promise<DeRefedOpenAPI> {
2626 }
2727 }
2828 const response = await fetch (
29- `https://raw.githubusercontent.com/getsentry/sentry-api-schema/${ SENTRY_API_SCHEMA_SHA } /openapi-derefed.json` ,
30- {
31- // this request is not getting cached due to size limit anyway and is printing noise to the build logs
32- cache : 'no-store' ,
33- }
29+ `https://raw.githubusercontent.com/getsentry/sentry-api-schema/${ SENTRY_API_SCHEMA_SHA } /openapi-derefed.json`
3430 ) ;
3531 return await response . json ( ) ;
3632}
You can’t perform that action at this time.
0 commit comments