fix(macos): resolve dashboard basePath for local and remote (#15862)

Co-authored-by: 帅小呆1号 <shuaixiaodai1@openclaw.ai>
This commit is contained in:
Shuai-DaiDai
2026-02-14 09:19:36 +08:00
committed by GitHub
parent f86840f4df
commit bdc63b5b7d
3 changed files with 77 additions and 3 deletions

View File

@@ -337,7 +337,7 @@ struct MenuContent: View {
private func openDashboard() async {
do {
let config = try await GatewayEndpointStore.shared.requireConfig()
let url = try GatewayEndpointStore.dashboardURL(for: config)
let url = try GatewayEndpointStore.dashboardURL(for: config, mode: self.state.connectionMode)
NSWorkspace.shared.open(url)
} catch {
let alert = NSAlert()