From f2cde15526ff8540f2221c0f016d14069f426ed4 Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Wed, 15 Oct 2025 07:48:09 -0500 Subject: [PATCH] docs(@angular/ssr): update examples for withRoutes configuration --- packages/angular/ssr/src/routes/route-config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/angular/ssr/src/routes/route-config.ts b/packages/angular/ssr/src/routes/route-config.ts index f328cee4becc..c8849a1067b3 100644 --- a/packages/angular/ssr/src/routes/route-config.ts +++ b/packages/angular/ssr/src/routes/route-config.ts @@ -233,19 +233,19 @@ export const SERVER_ROUTES_CONFIG = new InjectionToken('SERV * * const serverRoutes: ServerRoute[] = [ * { - * route: '', // This renders the "/" route on the client (CSR) + * path: '', // This renders the "/" route on the client (CSR) * renderMode: RenderMode.Client, * }, * { - * route: 'about', // This page is static, so we prerender it (SSG) + * path: 'about', // This page is static, so we prerender it (SSG) * renderMode: RenderMode.Prerender, * }, * { - * route: 'profile', // This page requires user-specific data, so we use SSR + * path: 'profile', // This page requires user-specific data, so we use SSR * renderMode: RenderMode.Server, * }, * { - * route: '**', // All other routes will be rendered on the server (SSR) + * path: '**', // All other routes will be rendered on the server (SSR) * renderMode: RenderMode.Server, * }, * ];