diff --git a/src/pages/utilities/config-editor.tsx b/src/pages/utilities/config-editor.tsx index 49c18f2..31d83e4 100644 --- a/src/pages/utilities/config-editor.tsx +++ b/src/pages/utilities/config-editor.tsx @@ -101,12 +101,11 @@ const ConfigEditorPage: React.FC = () => { val += splitLine[j]; } val = val.trim(); - /* + if (splitLine[0].includes('proxy-protocol-whitelisted-ips')) { currentComment = ''; continue; } - */ if (commented) { currentComment += 'Note: This option is commented on, and if you change it, it will be automatically uncommented.' + '
'; @@ -215,10 +214,7 @@ const ConfigEditorPage: React.FC = () => { return ; case 'metrics.uuid': return ; - case 'bedrock.#proxy-protocol-whitelisted-ips': - case 'bedrock.proxy-protocol-whitelisted-ips': - console.log(JSON.parse(value)); - console.log(value); + default: // Handle all the other inputs if (value.toLowerCase() === 'true' || value.toLowerCase() === 'false') {