indent
This commit is contained in:
parent
dc259095e0
commit
d2c83ddc7f
|
@ -23,8 +23,8 @@ public static class WebServer
|
|||
listener.Start();
|
||||
|
||||
var handlers404 = handlers
|
||||
.Concat(Default.HttpResponse)
|
||||
.ToArray();
|
||||
.Concat(Default.HttpResponse)
|
||||
.ToArray();
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
@ -34,9 +34,9 @@ public static class WebServer
|
|||
var request = context.ConvertRequest();
|
||||
|
||||
var response = handlers404
|
||||
.Select(f => f(request))
|
||||
.SkipWhile(r => r == null)
|
||||
.First()!;
|
||||
.Select(f => f(request))
|
||||
.SkipWhile(r => r == null)
|
||||
.First()!;
|
||||
|
||||
context.SendResponse(response);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue