[angular-18 | DONE | FIXED]: server.ts: Added missing configuration in commonEngine.render: inlineCriticalCss: false.

This commit is contained in:
Konstantina Galouni 2024-09-23 21:23:25 +03:00
parent 8dfa011c27
commit 86ce11fee2
1 changed files with 2 additions and 1 deletions

View File

@ -78,8 +78,9 @@ export function app(): express.Express {
commonEngine.render({
bootstrap: AppServerModule,
documentFilePath: indexHtml,
url: `${protocol}://${headers.host}${originalUrl}`,
url: `${protocol}://${headers.host}${originalUrl}`,
publicPath: distFolder,
inlineCriticalCss: false,
providers: [
{ provide: APP_BASE_HREF, useValue: req.baseUrl },
{