[angular-18 | DONE | FIXED]: server.ts: Added missing configuration in commonEngine.render: inlineCriticalCss: false.
This commit is contained in:
parent
8dfa011c27
commit
86ce11fee2
|
@ -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 },
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue