From bc0d3d2f324ee613424ee31103207222b4b19640 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 29 Jul 2026 12:21:32 +0200 Subject: Config editor, host networking, whitelist RCON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Config file editor at /instances/{id}/config (browse & edit config/ files) - Host networking for Docker container (fixes WireGuard MTU DNS issues) - Whitelist changes applied live via RCON instead of stopping the server - Config edit handler detects which fields changed: whitelist → RCON, other settings → restart container - walk_dir simplified (removed unused root param) - import_world uses if-let instead of never-looping while-let - docker-compose.yml updated as reference template --- templates/mods/list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/mods/list.html') diff --git a/templates/mods/list.html b/templates/mods/list.html index b5420b8..b05a0e6 100644 --- a/templates/mods/list.html +++ b/templates/mods/list.html @@ -119,7 +119,7 @@ function batchSubmit(action) { const checked = document.querySelectorAll('input[name="mod_id"]:checked'); if (checked.length === 0) return; - const form = document.getElementById('batch-form'); + const form = document.querySelector('#batch-form'); // Clear any previous hidden inputs form.textContent = ''; form.action = '/instances/{{ instance_id }}/mods/batch-' + action; @@ -129,7 +129,7 @@ function batchSubmit(action) { input.type = 'hidden'; input.name = 'mod_id'; input.value = cb.value; - form.appendChild(input); + form.append(input); } form.submit(); -- cgit v1.2.3