You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatestaticTimeSpanRegexMatchTimeout=TimeSpan.FromSeconds(5);// This is a development-time only feature, so a very long timeout is fine
23
-
privatestaticTimeSpanBuildTimeout=TimeSpan.FromSeconds(50);// Note that the HTTP request itself by default times out after 60s, so you only get useful error information if this is shorter
24
23
25
24
privatereadonlystring_npmScriptName;
26
25
@@ -63,8 +62,7 @@ public async Task Build(ISpaBuilder spaBuilder)
privatestaticTimeSpanBuildTimeout=TimeSpan.FromSeconds(50);// Note that the HTTP request itself by default times out after 60s, so you only get useful error information if this is shorter
28
+
26
29
/// <summary>
27
30
/// Enables server-side prerendering middleware for a Single Page Application.
28
31
/// </summary>
@@ -85,9 +88,15 @@ public static void UseSpaPrerendering(
85
88
}
86
89
87
90
// If we're building on demand, wait for that to finish, or raise any build errors
/// <param name="baseUriTask">A <see cref="Task"/> that resolves with the target base URI to which requests should be proxied.</param>
57
+
/// <param name="baseUriTaskFactory">A callback that will be invoked on each request to supply a <see cref="Task"/> that resolves with the target base URI to which requests should be proxied.</param>
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SpaServices.Extensions/ReactDevelopmentServer/ReactDevelopmentServerMiddleware.cs
0 commit comments