Skip to content
Snippets Groups Projects
Unverified Commit 87d9bbd0 authored by syuilo's avatar syuilo Committed by GitHub
Browse files

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

Fix src/server/index.ts
parents 17f4dd69 e49f7f40
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment