Fonts come from npm, not Google, so no third-party font requests. Pages are prerendered at build time; browser-only code is guarded. nginx serves per-route HTML, a real 404 and gzip.
9 lines
351 B
TypeScript
9 lines
351 B
TypeScript
import { mergeApplicationConfig } from '@angular/core';
|
|
import { provideServerRendering, withRoutes } from '@angular/ssr';
|
|
import { appConfig } from './app.config';
|
|
import { serverRoutes } from './app.routes.server';
|
|
|
|
export const serverConfig = mergeApplicationConfig(appConfig, {
|
|
providers: [provideServerRendering(withRoutes(serverRoutes))],
|
|
});
|