From 5a0229cef4ef5565b7e0840e085eb7414fb1c5f9 Mon Sep 17 00:00:00 2001 From: AdamT20054 Date: Sun, 21 Sep 2025 07:28:12 +0100 Subject: [PATCH] Should fix host configs generating with default params. Another issue, caused by the wack prisma migration. --- frontend/src/pages/HostDetail.jsx | 12 ++++++------ frontend/src/pages/Hosts.jsx | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/pages/HostDetail.jsx b/frontend/src/pages/HostDetail.jsx index 0e2338e..9f89866 100644 --- a/frontend/src/pages/HostDetail.jsx +++ b/frontend/src/pages/HostDetail.jsx @@ -738,8 +738,8 @@ const CredentialsModal = ({ host, isOpen, onClose }) => { queryKey: ['serverUrl'], queryFn: () => settingsAPI.getServerUrl().then(res => res.data), }) - - const serverUrl = serverUrlData?.serverUrl || 'http://localhost:3001' + + const serverUrl = serverUrlData?.server_url || 'http://localhost:3001' const copyToClipboard = (text) => { navigator.clipboard.writeText(text) @@ -831,12 +831,12 @@ echo " - View logs: tail -f /var/log/patchmon-agent.log"`