update example
This commit is contained in:
parent
0441fe6402
commit
f18337109f
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
2
MiniHTTP
2
MiniHTTP
|
@ -1 +1 @@
|
|||
Subproject commit 2f0d5af790e05d040b9b34ec6f60cb44c22b1c76
|
||||
Subproject commit 4e11430dac07464541df459369a20a5d7d35d33c
|
Loading…
Reference in a new issue