From 16920caf9cf5340f8e1ea3b40ff145967fc72c0a Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Fri, 13 Apr 2018 14:07:42 +0900
Subject: [PATCH] Revert "Use http2"

This reverts commit 645481c2e8d13123c74271fa86291f10b99b9a55.
---
 src/server/index.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/server/index.ts b/src/server/index.ts
index 5f6d3a84d..a637e8598 100644
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -3,6 +3,7 @@
  */
 
 import * as fs from 'fs';
+import * as http from 'http';
 import * as http2 from 'http2';
 import * as Koa from 'koa';
 import * as Router from 'koa-router';
@@ -48,7 +49,7 @@ function createServer() {
 		});
 		return http2.createSecureServer(certs, app.callback());
 	} else {
-		return http2.createServer(app.callback());
+		return http.createServer(app.callback());
 	}
 }