avancement planning
This commit is contained in:
+3
-1
@@ -15,7 +15,9 @@ export function app(): express.Express {
|
||||
? join(distFolder, 'index.original.html')
|
||||
: join(distFolder, 'index.html');
|
||||
|
||||
const commonEngine = new CommonEngine();
|
||||
const commonEngine = new CommonEngine({
|
||||
allowedHosts: [/* Configure your hosts here */]
|
||||
});
|
||||
|
||||
server.set('view engine', 'html');
|
||||
server.set('views', distFolder);
|
||||
|
||||
+4
@@ -141,6 +141,10 @@ function updateApplicationBuilderWorkspaceConfigRule(projectSourceRoot, options,
|
||||
}
|
||||
buildTarget.options = {
|
||||
...buildTarget.options,
|
||||
security: {
|
||||
...(buildTarget.options?.security ?? {}),
|
||||
allowedHosts: [],
|
||||
},
|
||||
outputPath,
|
||||
outputMode: 'server',
|
||||
ssr: {
|
||||
|
||||
Reference in New Issue
Block a user