diff --git a/src/pages/utilities/config-editor.tsx b/src/pages/utilities/config-editor.tsx index 31d83e4..49c18f2 100644 --- a/src/pages/utilities/config-editor.tsx +++ b/src/pages/utilities/config-editor.tsx @@ -101,11 +101,12 @@ 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.' + '
'; @@ -214,7 +215,10 @@ 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') {