update example

This commit is contained in:
uwaa 2024-11-01 08:20:38 +00:00
parent 0441fe6402
commit f18337109f
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ static class Program
return await Websocket(req);
byte[] indexFile = await File.ReadAllBytesAsync("www-static/index.htm");
HttpContent html = new HttpContent("text/html", indexFile);
HttpContent html = new HttpContent(new MIMEType("text", "html"), indexFile);
return new OK(html);
}

@ -1 +1 @@
Subproject commit 2f0d5af790e05d040b9b34ec6f60cb44c22b1c76
Subproject commit 4e11430dac07464541df459369a20a5d7d35d33c