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'.
This commit is contained in:
Tobias Gesellchen
2026-02-15 22:01:58 +01:00
parent 972824e07f
commit 090eb162fb
+2 -2
View File
@@ -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 = {