Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit c2c45b0

Browse files
In preparation for supporting redirections, aspnet-prerendering now passes through all boot func resolution props to .NET code
1 parent 874575b commit c2c45b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.AspNetCore.SpaServices/npm/aspnet-prerendering/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aspnet-prerendering",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Helpers for server-side rendering of JavaScript applications in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.",
55
"main": "index.js",
66
"scripts": {

src/Microsoft.AspNetCore.SpaServices/npm/aspnet-prerendering/src/Prerendering.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function renderToString(callback: RenderToStringCallback, applicationBase
8484

8585
// Actually perform the rendering
8686
bootFuncPromiseWithTimeout.then(successResult => {
87-
callback(null, { html: successResult.html, globals: successResult.globals });
87+
callback(null, successResult);
8888
}, error => {
8989
callback(error, null);
9090
});

0 commit comments

Comments
 (0)