From 090eb162fb1854d01fd58241c8aec12b76593f83 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 15 Feb 2026 22:00:19 +0100 Subject: [PATCH] Fix TypeError in Web UI by renaming proxy-domain to soundcork-url This commit fixes a JS error in showSummary and migrate functions where they were still trying to access the UI element by its old ID 'proxy-domain' instead of the new 'soundcork-url'. --- pkg/service/handlers/web/js/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/service/handlers/web/js/script.js b/pkg/service/handlers/web/js/script.js index c3db6d3..2bdd1ab 100644 --- a/pkg/service/handlers/web/js/script.js +++ b/pkg/service/handlers/web/js/script.js @@ -676,7 +676,7 @@ async function showSummary(ip) { return; } const targetUrl = document.getElementById('target-domain').value; - const proxyUrl = document.getElementById('proxy-domain').value; + const proxyUrl = document.getElementById('soundcork-url').value; const opts = { marge: document.getElementById('opt-marge').value, @@ -926,7 +926,7 @@ async function migrate(ip) { return; } const targetUrl = document.getElementById('target-domain').value; - const proxyUrl = document.getElementById('proxy-domain').value; + const proxyUrl = document.getElementById('soundcork-url').value; const method = document.getElementById('migration-method').value; const opts = {