Fixed an error with server responses.

This commit is contained in:
2019-07-23 18:23:03 +03:00
parent 8c875c4278
commit a1934fdf34
12 changed files with 169 additions and 89 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
using MTSC.Exceptions;
using MTSC.Common.Http.ServerModules;
using MTSC.Exceptions;
using MTSC.Logging;
using MTSC.Server;
using MTSC.Server.Handlers;
@@ -22,8 +23,8 @@ namespace MTSC_TestServer
.AddLogger(new ConsoleLogger())
.AddLogger(new DebugConsoleLogger())
.AddExceptionHandler(new ExceptionConsoleLogger())
.AddHandler(new BroadcastHandler())
.AddHandler(new HttpHandler())
//.AddHandler(new BroadcastHandler())
.AddHandler(new HttpHandler().AddHttpModule(new Http404Module()))
.Run();
}