diff options
author | crupest <crupest@outlook.com> | 2020-05-30 23:16:49 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-05-30 23:16:49 +0800 |
commit | 2ffc07756ca7d50533e90fdac37d62a6c33a8a00 (patch) | |
tree | 88d142853805b6b5a0230164f19ae35e425ea559 /Timeline/Startup.cs | |
parent | 68ca8b0976efe90c0c40bcae69f0825671b98bad (diff) | |
download | timeline-2ffc07756ca7d50533e90fdac37d62a6c33a8a00.tar.gz timeline-2ffc07756ca7d50533e90fdac37d62a6c33a8a00.tar.bz2 timeline-2ffc07756ca7d50533e90fdac37d62a6c33a8a00.zip |
Just get everything works!
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);
}
});
}
|