diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-13 14:07:42 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-13 14:07:42 +0900 |
| commit | 16920caf9cf5340f8e1ea3b40ff145967fc72c0a (patch) | |
| tree | 16ab51d8710edae2732ffc7c4ecd8464bc476cfc /src/server | |
| parent | Clean up (diff) | |
| download | misskey-16920caf9cf5340f8e1ea3b40ff145967fc72c0a.tar.gz misskey-16920caf9cf5340f8e1ea3b40ff145967fc72c0a.tar.bz2 misskey-16920caf9cf5340f8e1ea3b40ff145967fc72c0a.zip | |
Revert "Use http2"
This reverts commit 645481c2e8d13123c74271fa86291f10b99b9a55.
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/index.ts b/src/server/index.ts index 5f6d3a84df..a637e8598b 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()); } } |