Allow single newleaf url

This commit is contained in:
Ajay 2022-05-05 20:52:44 -04:00
parent 591e3a0051
commit db700cd7e8

View file

@ -175,6 +175,8 @@ function loadFromEnv(config: SBSConfig, prefix = "") {
config[key] = parseInt(value, 10);
} else if (value.toLowerCase() === "true" || value.toLowerCase() === "false") {
config[key] = value === "true";
} else if (key === "newLeafURLs") {
config[key] = [value];
} else {
config[key] = value;
}