mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-27 00:13:03 +00:00
Merge pull request #1463 from tamaina/fix-src/server/index.ts
Fix src/server/index.ts
This commit is contained in:
commit
87d9bbd040
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue