Skip to content

Commit 40aca03

Browse files
committed
Fix warning
1 parent 9972a2b commit 40aca03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/web-sockets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626

2727
Implement a rudimentary single channel chat server.
2828

29-
dotnet6
29+
dotnet8

projects/web-sockets/web-sockets-5/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ await ReceiveAsync(cm, log, socket, socketId, async (connectionManager, clientRe
151151

152152
app.Run(async context =>
153153
{
154-
context.Response.Headers.Add("content-type", "text/html");
154+
context.Response.Headers.Append("content-type", "text/html");
155155
await context.Response.WriteAsync(@"
156156
<html>
157157
<head>

0 commit comments

Comments
 (0)