From 974e3cf2cf4542e0fea1f866f20251a1bdb494aa Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sat, 30 May 2026 15:53:52 -0400 Subject: [PATCH] Setup: all hosts land on Partnership after conf setup, not just HOST1 --- Plugin/unraid/pages/scheduler.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Plugin/unraid/pages/scheduler.php b/Plugin/unraid/pages/scheduler.php index 0ad1b3f..90b8d12 100644 --- a/Plugin/unraid/pages/scheduler.php +++ b/Plugin/unraid/pages/scheduler.php @@ -2626,17 +2626,10 @@ function vvSaveRawConf() { history.replaceState(null, '', location.pathname + '?tab=scheduler&vv_setup=' + encodeURIComponent(vvLocalHostConf)); setTimeout(() => vvLoadRawConf(vvLocalHostConf), 400); } else { - // Host conf saved → setup complete + // Host conf saved → go to Partnership so SSH keys get set up vvSetupConf = ''; - if (vvLocalHostConf === 'host1.conf') { - // HOST1: drive the partnership next - btn.textContent = '✓ Done — opening Partnership…'; - setTimeout(() => { window.location.href = location.pathname + '?tab=partnership&vv_onboard=1'; }, 800); - } else { - // HOST2+: go to Monitor, HOST1 manages the partnership - btn.textContent = '✓ Setup complete — loading plugin…'; - setTimeout(() => { window.location.href = location.pathname + '?tab=monitor'; }, 800); - } + btn.textContent = '✓ Done — opening Partnership…'; + setTimeout(() => { window.location.href = location.pathname + '?tab=partnership&vv_onboard=1'; }, 800); } return; }