Skip to content

Commit

Permalink
fix(server): @fastify/express doesn't work with http2 (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 authored Dec 11, 2023
1 parent e523a29 commit 40eac66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/bin/web-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ const startWebServer = async () => {
instance = fastify({
bodyLimit: 100 * 1024 * 1024,
trustProxy: 'loopback',
http2: true,
https: {
allowHTTP1: true,
key: fs.readFileSync(config.sslKey),
cert: fs.readFileSync(config.sslCert),
},
Expand Down

0 comments on commit 40eac66

Please sign in to comment.