This repository was archived by the owner on Nov 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 62
62
{
63
63
string path = context . Request . Path . Value ;
64
64
65
- if (
66
- string . Equals ( path , "/" , StringComparison . OrdinalIgnoreCase ) ||
65
+ if ( string . Equals ( path , "/" , StringComparison . OrdinalIgnoreCase ) ||
67
66
string . Equals ( path , "/index.html" , StringComparison . OrdinalIgnoreCase ) )
68
67
{
69
68
// The request token has to be sent as a JavaScript-readable cookie,
110
109
ResponseWriter = UIResponseWriter . WriteHealthCheckUIResponse
111
110
} ) ;
112
111
113
- // Handles all still unnatended (by any other middleware) requests by returning the default page of the SPA (wwwroot/index.html).
112
+ // Handles all still unattended (by any other middleware) requests by returning the default page of the SPA (wwwroot/index.html).
114
113
app . UseSpa ( spa =>
115
114
{
116
115
// To learn more about options for serving an Angular SPA from ASP.NET Core,
121
120
122
121
if ( app . Environment . IsDevelopment ( ) )
123
122
{
124
-
125
123
// use the SpaServices extension method for angular, that will make the application to run "ng serve" for us, when in development.
126
124
spa . UseAngularCliServer ( npmScript : "start" ) ;
127
125
}
You can’t perform that action at this time.
0 commit comments