Skip to content

Commit 554e34a

Browse files
committed
Add no automatic caching because of 2mb limit
1 parent 969d96e commit 554e34a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/build/resolveOpenAPI.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ async function resolveOpenAPI(): Promise<DeRefedOpenAPI> {
3434
return cachedResonse;
3535
}
3636
const response = await fetch(
37-
`https://raw.githubusercontent.com/getsentry/sentry-api-schema/${SENTRY_API_SCHEMA_SHA}/openapi-derefed.json`
37+
`https://raw.githubusercontent.com/getsentry/sentry-api-schema/${SENTRY_API_SCHEMA_SHA}/openapi-derefed.json`,
38+
{cache: 'no-store'}
3839
);
3940
cachedResonse = await response.json();
4041
return cachedResonse!;

0 commit comments

Comments
 (0)