aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenhttp/httpserver.cpp')
-rw-r--r--zenhttp/httpserver.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/zenhttp/httpserver.cpp b/zenhttp/httpserver.cpp
index f281185b7..d1893dc6e 100644
--- a/zenhttp/httpserver.cpp
+++ b/zenhttp/httpserver.cpp
@@ -4,6 +4,7 @@
#include "httpnull.h"
#include "httpsys.h"
+#include "httpuws.h"
#include <zencore/compactbinary.h>
#include <zencore/compactbinarypackage.h>
@@ -354,7 +355,9 @@ HttpRequestRouter::HandleRequest(zen::HttpServerRequest& Request)
Ref<HttpServer>
CreateHttpServer()
{
-#if ZEN_WITH_HTTPSYS
+#if 1
+ return new HttpUwsServer;
+#elif ZEN_WITH_HTTPSYS
return new HttpSysServer{32};
#else
return new HttpNullServer;