mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Allow single newleaf url
This commit is contained in:
parent
591e3a0051
commit
db700cd7e8
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue