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

Commit eb403ed

Browse files
CR feedback: Remove vestigal 'defaultPage' param
1 parent bb10e56 commit eb403ed

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Microsoft.AspNetCore.SpaServices.Extensions/SpaApplicationBuilderExtensions.cs

-6
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ public static class SpaApplicationBuilderExtensions
3535
/// directory) of the directory that holds the SPA source files during development.
3636
/// The directory need not exist once the application is published.
3737
/// </param>
38-
/// <param name="defaultPage">
39-
/// Optional. If specified, configures the path (relative to <paramref name="urlPrefix"/>)
40-
/// of the default page that hosts your SPA user interface.
41-
/// If not specified, the default value is <c>"index.html"</c>.
42-
/// </param>
4338
/// <param name="configuration">
4439
/// Optional. If specified, this callback will be invoked so that additional middleware
4540
/// can be registered within the context of this SPA.
@@ -48,7 +43,6 @@ public static void UseSpa(
4843
this IApplicationBuilder app,
4944
string urlPrefix,
5045
string sourcePath = null,
51-
string defaultPage = null,
5246
Action<ISpaBuilder> configuration = null)
5347
{
5448
var spaBuilder = new DefaultSpaBuilder(app, sourcePath, urlPrefix);

0 commit comments

Comments
 (0)