Skip to content

Commit

Permalink
Changed boot-server since issue 347 was fixed in angular universal. a…
Browse files Browse the repository at this point in the history
  • Loading branch information
damirkusar committed Jan 16, 2017
1 parent dff8bd4 commit c6d1e82
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Angular2Core/ClientApp/boot-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ export default function (params: any) : Promise<{ html: string, globals?: any }>
requestUrl: params.url,
originUrl: params.origin,
preboot: false,
// TODO: Render just the <app> component instead of wrapping it inside an extra HTML document
// Waiting on https://github.com/angular/universal/issues/347
document: '<!DOCTYPE html><html><head></head><body><app></app></body></html>'
document: '<app></app>'
},
onHandleError: (parentZone, currentZone, targetZone, error) => {
// If any error occurs while rendering the module, reject the whole operation
Expand Down

0 comments on commit c6d1e82

Please sign in to comment.