diff options
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r-- | Timeline/Startup.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs index 8da09686..9651d58e 100644 --- a/Timeline/Startup.cs +++ b/Timeline/Startup.cs @@ -127,9 +127,7 @@ namespace Timeline if (Environment.IsDevelopment())
{
- // TODO! I'll waiting for aspnetcore to support custom package manager and port.
- // It is already in master branch code but not published.
- spa.UseReactDevelopmentServer(npmScript: "start");
+ SpaServices.SpaDevelopmentServerMiddlewareExtensions.UseSpaDevelopmentServer(spa, packageManager: "yarn", npmScript: "start", port: 3000);
}
});
}
|