1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-28 06:48:42 +09:00

Merge pull request #1463 from tamaina/fix-src/server/index.ts

Fix src/server/index.ts
This commit is contained in:
syuilo 2018-04-14 00:03:15 +09:00 committed by GitHub
commit 87d9bbd040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ function createServer() {
Object.keys(config.https).forEach(k => {
certs[k] = fs.readFileSync(config.https[k]);
});
certs['allowHTTP1'] = true
return http2.createSecureServer(certs, app.callback());
} else {
return http.createServer(app.callback());