diff options
author | Shav Kinderlehrer <[email protected]> | 2023-12-12 17:12:58 -0500 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-12-12 17:12:58 -0500 |
commit | 9ccd37f754db33a190a9867bd5a310dfe5f4d17c (patch) | |
tree | 6df5dd28d1ab2b4fd4828dd37e0e06c20e65197d | |
parent | fbb37567460b689f01eb8a8717b9ac8673652c28 (diff) | |
download | jel-9ccd37f754db33a190a9867bd5a310dfe5f4d17c.tar.gz jel-9ccd37f754db33a190a9867bd5a310dfe5f4d17c.zip |
Use System/Info/Public instead of Users/Public to verify server
-rw-r--r-- | Jel.xcodeproj/project.pbxproj | 2 | ||||
-rw-r--r-- | Jel/Controllers/JellyfinClientController.swift | 2 | ||||
-rw-r--r-- | Jel/Views/ContentView.swift (renamed from Jel/ContentView.swift) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Jel.xcodeproj/project.pbxproj b/Jel.xcodeproj/project.pbxproj index cc85edc..20b4838 100644 --- a/Jel.xcodeproj/project.pbxproj +++ b/Jel.xcodeproj/project.pbxproj @@ -108,6 +108,7 @@ 3D1015D72B27F54A00F5C29A /* Views */ = { isa = PBXGroup; children = ( + 3D9063CC2B279A310063DD2A /* ContentView.swift */, 3D91FDC52B28C28900919017 /* SignIn */, ); path = Views; @@ -160,7 +161,6 @@ 3D1015DF2B27F8EE00F5C29A /* Controllers */, 3D1015D72B27F54A00F5C29A /* Views */, 3D9063CA2B279A310063DD2A /* JelApp.swift */, - 3D9063CC2B279A310063DD2A /* ContentView.swift */, 3D9063CE2B279A320063DD2A /* Assets.xcassets */, 3D9063D02B279A320063DD2A /* Jel.entitlements */, 3D9063D12B279A320063DD2A /* Preview Content */, diff --git a/Jel/Controllers/JellyfinClientController.swift b/Jel/Controllers/JellyfinClientController.swift index b50157e..a80b908 100644 --- a/Jel/Controllers/JellyfinClientController.swift +++ b/Jel/Controllers/JellyfinClientController.swift @@ -60,7 +60,7 @@ class JellyfinClientController: ObservableObject { } func isJellyfinServer() async -> Bool { - let request = Paths.getPublicUsers + let request = Paths.getPublicSystemInfo do { let res = try await api.send(request) if res.statusCode != 200 { diff --git a/Jel/ContentView.swift b/Jel/Views/ContentView.swift index 356615d..356615d 100644 --- a/Jel/ContentView.swift +++ b/Jel/Views/ContentView.swift |