File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/angular/ssr/src/routes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -233,19 +233,19 @@ export const SERVER_ROUTES_CONFIG = new InjectionToken<ServerRoutesConfig>('SERV
233233 *
234234 * const serverRoutes: ServerRoute[] = [
235235 * {
236- * route : '', // This renders the "/" route on the client (CSR)
236+ * path : '', // This renders the "/" route on the client (CSR)
237237 * renderMode: RenderMode.Client,
238238 * },
239239 * {
240- * route : 'about', // This page is static, so we prerender it (SSG)
240+ * path : 'about', // This page is static, so we prerender it (SSG)
241241 * renderMode: RenderMode.Prerender,
242242 * },
243243 * {
244- * route : 'profile', // This page requires user-specific data, so we use SSR
244+ * path : 'profile', // This page requires user-specific data, so we use SSR
245245 * renderMode: RenderMode.Server,
246246 * },
247247 * {
248- * route : '**', // All other routes will be rendered on the server (SSR)
248+ * path : '**', // All other routes will be rendered on the server (SSR)
249249 * renderMode: RenderMode.Server,
250250 * },
251251 * ];
You can’t perform that action at this time.
0 commit comments