Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
fix: small max split fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Dec 4, 2021
1 parent e2b263c commit 4dac4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const _buildWhiteList = () => {
const whiteList = {};
const WHITELIST = yonius.conf("WHITELIST", [], "list");
WHITELIST.forEach(list => {
const [param, values] = list.split(":");
const [param, values] = list.split(":", 2);
whiteList[param] = values.split(",");
});
return whiteList;
Expand Down

0 comments on commit 4dac4c9

Please sign in to comment.