This commit is contained in:
Ben Wilson
2023-08-09 09:52:32 -04:00
parent 1973b06515
commit 76319d9625
+4 -3
View File
@@ -19,13 +19,14 @@ async function bootstrap() {
const secure = process.env.API_SECURE?.toLowerCase() == 'true';
if (secure) {
const httpsOptions = {
options = {
https: {
key: readFileSync('./secrets/key.pem'),
cert: readFileSync('./secrets/cert.pem'),
}
};
options = { https: httpsOptions };
} else {
}