Skip to content

Commit 01d091b

Browse files
erkamyamanatscott
authored andcommitted
fix(docs-infra): raise SSR fetch limit so the menubar guide prerenders
The aria menubar guide content is 2.9 MB, over the 2 MiB maxResponseBodySize set in #69379. The fetch fails during prerender, the navigation error handler redirects to /404, and the prerendered page is saved as that redirect. Opening /guide/aria/menubar directly or refreshing it lands on the 404 page. Raise the limit to 4 MiB. The combobox guide was also within 27 KB of the old limit.
1 parent b9cbc5f commit 01d091b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adev/src/app/app.config.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {appConfig} from './app.config';
1313
const serverConfig: ApplicationConfig = {
1414
providers: [
1515
provideServerRendering(
16-
{maxResponseBodySize: 2 * 1024 * 1024},
16+
{maxResponseBodySize: 4 * 1024 * 1024},
1717
withRoutes([{path: '**', renderMode: RenderMode.Prerender}]),
1818
),
1919
],

0 commit comments

Comments
 (0)