← back to Exo
fix: update macOS app to use correct API port (52415)
e06830ce0b81d214f3190a16ad6c3a8411efd712 · 2025-12-22 14:03:02 +0800 · majiayu000
Fixes #960
The macOS app was incorrectly using port 8000 instead of the default
exo API port 52415. This caused confusion as the README correctly
documents port 52415 but the app was connecting to a different port.
Files touched
M app/EXO/EXO/ContentView.swiftM app/EXO/EXO/Services/BugReportService.swiftM app/EXO/EXO/Services/ClusterStateService.swift
Diff
commit e06830ce0b81d214f3190a16ad6c3a8411efd712
Author: majiayu000 <1835304752@qq.com>
Date: Mon Dec 22 14:03:02 2025 +0800
fix: update macOS app to use correct API port (52415)
Fixes #960
The macOS app was incorrectly using port 8000 instead of the default
exo API port 52415. This caused confusion as the README correctly
documents port 52415 but the app was connecting to a different port.
---
app/EXO/EXO/ContentView.swift | 2 +-
app/EXO/EXO/Services/BugReportService.swift | 2 +-
app/EXO/EXO/Services/ClusterStateService.swift | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/EXO/EXO/ContentView.swift b/app/EXO/EXO/ContentView.swift
index 774b2b09..7e6372e0 100644
--- a/app/EXO/EXO/ContentView.swift
+++ b/app/EXO/EXO/ContentView.swift
@@ -212,7 +212,7 @@ struct ContentView: View {
private var dashboardButton: some View {
Button {
- guard let url = URL(string: "http://localhost:8000/") else { return }
+ guard let url = URL(string: "http://localhost:52415/") else { return }
NSWorkspace.shared.open(url)
} label: {
HStack {
diff --git a/app/EXO/EXO/Services/BugReportService.swift b/app/EXO/EXO/Services/BugReportService.swift
index 99f55e57..a1852c6b 100644
--- a/app/EXO/EXO/Services/BugReportService.swift
+++ b/app/EXO/EXO/Services/BugReportService.swift
@@ -35,7 +35,7 @@ struct BugReportService {
}
func sendReport(
- baseURL: URL = URL(string: "http://127.0.0.1:8000")!,
+ baseURL: URL = URL(string: "http://127.0.0.1:52415")!,
now: Date = Date(),
isManual: Bool = false
) async throws -> BugReportOutcome {
diff --git a/app/EXO/EXO/Services/ClusterStateService.swift b/app/EXO/EXO/Services/ClusterStateService.swift
index c6a35f92..dddbff4b 100644
--- a/app/EXO/EXO/Services/ClusterStateService.swift
+++ b/app/EXO/EXO/Services/ClusterStateService.swift
@@ -15,7 +15,7 @@ final class ClusterStateService: ObservableObject {
private let endpoint: URL
init(
- baseURL: URL = URL(string: "http://127.0.0.1:8000")!,
+ baseURL: URL = URL(string: "http://127.0.0.1:52415")!,
session: URLSession = .shared
) {
self.baseURL = baseURL
← 1df5079b ci: avoid pushing alpha build as latest
·
back to Exo
·
pyproject: add pyinstaller to dev-dependencies dd0638b7 →