diff --git a/src/pages/DashboardPage.jsx b/src/pages/DashboardPage.jsx index f4f61f6..c61301a 100644 --- a/src/pages/DashboardPage.jsx +++ b/src/pages/DashboardPage.jsx @@ -3417,148 +3417,92 @@ const handleWebSocketMessage = useCallback((data) => { const serverPorts = selectedServer.ports || []; const primaryPort = serverPorts[0]; const mappingCount = serverPorts.length + (selectedServer.sftp_port ? 1 : 0); - const flowExampleInternal = primaryPort?.internal || '8080'; - const flowExampleExternal = primaryPort?.external || '31234'; + const primaryExternalPort = primaryPort?.external || selectedServer.sftp_port; const canExposePorts = ['vps', 'game', 'database'].includes(selectedServer.type); return ( -