Skip to content

Commit 86b9c23

Browse files
committed
chore: manual migration of app.config.server.ts
1 parent b5c0277 commit 86b9c23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: demo/src/app/app.config.server.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { provideServerRendering, provideServerRoutesConfig } from '@angular/ssr';
21
import { mergeApplicationConfig, ApplicationConfig } from '@angular/core'
2+
import { provideServerRendering, withRoutes } from '@angular/ssr'
3+
34
import { appConfig } from './app.config'
45
import { serverRoutes } from './app.routes.server'
56

67
const serverConfig: ApplicationConfig = {
7-
providers: [provideServerRendering(), provideServerRoutesConfig(serverRoutes)],
8+
providers: [provideServerRendering(withRoutes(serverRoutes))],
89
}
910

1011
export const config = mergeApplicationConfig(appConfig, serverConfig)

0 commit comments

Comments
 (0)