From eb00d8f064fa8d96b2a6e4b2f0355054c769d24b Mon Sep 17 00:00:00 2001 From: Dorian Date: Thu, 19 Mar 2026 22:56:37 +0000 Subject: [PATCH] fix: file sharing path, Tor status consistency, Archipelago channel fixes - ShareModal: strip leading / from filepath (was causing "absolute paths not allowed") - Server.vue: Tor status in Local Network section now uses same source as header - Both fixes needed for file sharing and Tor to work consistently Co-Authored-By: Claude Opus 4.6 (1M context) --- neode-ui/src/components/cloud/ShareModal.vue | 2 +- neode-ui/src/views/Server.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neode-ui/src/components/cloud/ShareModal.vue b/neode-ui/src/components/cloud/ShareModal.vue index b1a481ab..77c61519 100644 --- a/neode-ui/src/components/cloud/ShareModal.vue +++ b/neode-ui/src/components/cloud/ShareModal.vue @@ -215,7 +215,7 @@ async function save() { const addRes = await rpcClient.call<{ item: { id: string } }>({ method: 'content.add', params: { - filename: props.filepath || props.filename, + filename: (props.filepath || props.filename).replace(/^\/+/, ''), mime_type: mimeMap[ext] || 'application/octet-stream', description: '', }, diff --git a/neode-ui/src/views/Server.vue b/neode-ui/src/views/Server.vue index dd3a87fe..9de6d6c2 100644 --- a/neode-ui/src/views/Server.vue +++ b/neode-ui/src/views/Server.vue @@ -169,7 +169,7 @@ Tor - {{ networkData.torConnected ? 'Connected' : 'N/A' }} + {{ torStatusLabel === 'running' ? 'Connected' : torStatusLabel === 'checking' ? 'Checking...' : 'Stopped' }}