Skip to content

Commit 6c478b4

Browse files
committed
Update Program.cs
1 parent a3985c9 commit 6c478b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

MyApp/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@
6868
options.MapEndpoints();
6969
});
7070

71-
// Proxy development HMR WebSocket and fallback routes to the Next server
71+
// Proxy HMR WebSocket and fallback routes to Node dev server in Development
7272
if (app.Environment.IsDevelopment())
7373
{
7474
app.RunNodeProcess(nodeProxy, "../MyApp.Client"); // Start Node if not running
7575
app.UseWebSockets();
76-
app.MapNextHmr(nodeProxy); // Proxy HMR WebSocket requests
76+
app.MapNextHmr(nodeProxy);
7777
}
7878

7979
app.MapFallbackToNode(nodeProxy);

0 commit comments

Comments
 (0)