backend-common: fix for backend.https being required

This commit is contained in:
Patrik Oldsberg
2021-01-04 11:35:13 +01:00
parent 091561031a
commit 5640f1cd9d
@@ -193,7 +193,7 @@ export function readCspOptions(
* ```
*/
export function readHttpsSettings(config: Config): HttpsSettings | undefined {
const https = config.get('https');
const https = config.getOptional('https');
if (https === true) {
const baseUrl = config.getString('baseUrl');
let commonName;