
        async function updateServerIp() {
            const serverIp = document.getElementById('serverIp').value;
            try {
                const response = await fetch('/api/updateServerIp', {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json'
                    },
                    body: JSON.stringify({ serverIp })
                });
                const data = await response.json();
                if (data.success)