File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 7373// Proxy development HMR WebSocket and fallback routes to the Next server
7474if ( app . Environment . IsDevelopment ( ) )
7575{
76- app . MapNextHmr ( nodeProxy ) ;
77-
7876 // Start the Next.js dev server if the Next.js lockfile does not exist
79- "../MyApp.Client/dist" . AssertDir ( ) ;
8077 app . RunNodeProcess ( nodeProxy ,
8178 lockFile : "../MyApp.Client/dist/lock" ,
8279 workingDirectory : "../MyApp.Client" ) ;
8380
81+ app . MapNextHmr ( nodeProxy ) ;
8482 app . MapFallbackToNode ( nodeProxy ) ;
8583}
8684else
Original file line number Diff line number Diff line change 1313 "commandName" : " Project" ,
1414 "dotnetRunMessages" : true ,
1515 "launchBrowser" : true ,
16- "launchUrl" : " metadata" ,
1716 "applicationUrl" : " https://localhost:5001" ,
1817 "environmentVariables" : {
1918 "ASPNETCORE_ENVIRONMENT" : " Development"
2322 "commandName" : " Project" ,
2423 "dotnetRunMessages" : true ,
2524 "launchBrowser" : true ,
26- "launchUrl" : " metadata " ,
25+ "launchUrl" : " " ,
2726 "applicationUrl" : " https://localhost:5001;http://localhost:5000" ,
2827 "environmentVariables" : {
2928 "ASPNETCORE_ENVIRONMENT" : " Development"
3231 "IIS Express" : {
3332 "commandName" : " IISExpress" ,
3433 "launchBrowser" : true ,
35- "launchUrl" : " metadata" ,
3634 "environmentVariables" : {
3735 "ASPNETCORE_ENVIRONMENT" : " Development"
3836 }
3937 }
4038 }
41- }
42-
39+ }
You can’t perform that action at this time.
0 commit comments