Skip to content

Commit c6d1e82

Browse files
committed
Changed boot-server since issue 347 was fixed in angular universal. angular/universal#347
1 parent dff8bd4 commit c6d1e82

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Angular2Core/ClientApp/boot-server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ export default function (params: any) : Promise<{ html: string, globals?: any }>
1616
requestUrl: params.url,
1717
originUrl: params.origin,
1818
preboot: false,
19-
// TODO: Render just the <app> component instead of wrapping it inside an extra HTML document
20-
// Waiting on https://github.com/angular/universal/issues/347
21-
document: '<!DOCTYPE html><html><head></head><body><app></app></body></html>'
19+
document: '<app></app>'
2220
},
2321
onHandleError: (parentZone, currentZone, targetZone, error) => {
2422
// If any error occurs while rendering the module, reject the whole operation

0 commit comments

Comments
 (0)