mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 22:27:50 -05:00
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.
This commit is contained in:
@@ -212,7 +212,7 @@ struct ContentView: View {
|
|||||||
|
|
||||||
private var dashboardButton: some View {
|
private var dashboardButton: some View {
|
||||||
Button {
|
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)
|
NSWorkspace.shared.open(url)
|
||||||
} label: {
|
} label: {
|
||||||
HStack {
|
HStack {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ struct BugReportService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func sendReport(
|
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(),
|
now: Date = Date(),
|
||||||
isManual: Bool = false
|
isManual: Bool = false
|
||||||
) async throws -> BugReportOutcome {
|
) async throws -> BugReportOutcome {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ final class ClusterStateService: ObservableObject {
|
|||||||
private let endpoint: URL
|
private let endpoint: URL
|
||||||
|
|
||||||
init(
|
init(
|
||||||
baseURL: URL = URL(string: "http://127.0.0.1:8000")!,
|
baseURL: URL = URL(string: "http://127.0.0.1:52415")!,
|
||||||
session: URLSession = .shared
|
session: URLSession = .shared
|
||||||
) {
|
) {
|
||||||
self.baseURL = baseURL
|
self.baseURL = baseURL
|
||||||
|
|||||||
Reference in New Issue
Block a user