Skip to content

Commit eafe1a7

Browse files
committed
fix(@angular/ssr): allow all hosts in common engine rendering options to prevent validation errors
This is needed due to the angular/angular#68593
1 parent 7a116a8 commit eafe1a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/angular/ssr/node/src/common-engine/common-engine.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ export class CommonEngine {
207207
const commonRenderingOptions = {
208208
url: opts.url,
209209
document,
210+
// Validation is already happened in the render method.
211+
allowedHosts: ['*'],
210212
};
211213

212214
return isBootstrapFn(moduleOrFactory)

0 commit comments

Comments
 (0)