[angular-18 | DONE | ADDED] add inlineCriticalCss: false in server.ts

This commit is contained in:
argirok 2024-09-23 12:42:41 +03:00
parent c8a5e03b72
commit c8e4d62e6b
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ export function app(): express.Express {
commonEngine commonEngine
.render({ .render({
inlineCriticalCss:false,
bootstrap: AppServerModule, bootstrap: AppServerModule,
documentFilePath: indexHtml, documentFilePath: indexHtml,
url: `${protocol}://${headers.host}${originalUrl}`, url: `${protocol}://${headers.host}${originalUrl}`,