Rename BONOB_STREAM_CUSTOM_CLIENTS to BONOB_NAVIDROME_CUSTOM_CLIENTS

This commit is contained in:
simojenki
2021-04-20 14:02:41 +10:00
parent d3d83df03c
commit 60603df166
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ if (process.env["BONOB_SONOS_AUTO_REGISTER"] == "true") {
});
}
const customClientsFor = process.env["BONOB_STREAM_CUSTOM_CLIENTS"] || "none";
const customClientsFor = process.env["BONOB_NAVIDROME_CUSTOM_CLIENTS"] || "none";
const streamUserAgent =
customClientsFor == "none" ? DEFAULT : appendMimeTypeToClientFor(customClientsFor.split(","));