This commit is contained in:
Expand-sys 2021-06-25 13:43:49 +10:00
parent c4aa98d29c
commit fca9d5df2f

View file

@ -9,8 +9,8 @@ const fastify = require("fastify")({
http2: true, http2: true,
https: { https: {
allowHTTP1: true, // fallback support for HTTP1 allowHTTP1: true, // fallback support for HTTP1
//key: fs.readFileSync(path.join(root, "..", "config", "key.key")), key: fs.readFileSync(path.join(root, "..", "config", "key.key")),
//cert: fs.readFileSync(path.join(root, "..", "config", "cert.cert")), cert: fs.readFileSync(path.join(root, "..", "config", "cert.cert")),
}, },
}); });