diff --git a/packages/core/src/app/init.ts b/packages/core/src/app/init.ts index 5dcdb9823..4ffdb811c 100644 --- a/packages/core/src/app/init.ts +++ b/packages/core/src/app/init.ts @@ -63,7 +63,7 @@ export default async function initApp(app: Koa): Promise { if (isHttpsEnabled && httpsCert && httpsKey) { const createHttp2Server = async () => http2.createSecureServer( - { cert: await fs.readFile(httpsCert), key: await fs.readFile(httpsKey) }, + { cert: await fs.readFile(httpsCert), key: await fs.readFile(httpsKey), allowHTTP1: true }, app.callback() );