summaryrefslogtreecommitdiff
path: root/Jel/Controllers/JellyfinClientController.swift
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-12-12 19:51:54 -0500
committerShav Kinderlehrer <[email protected]>2023-12-12 19:51:54 -0500
commit3994a6f408905049a5c280a303e30fe636b07968 (patch)
treeca06fab6088483deb3ab6bd422bca8647348c094 /Jel/Controllers/JellyfinClientController.swift
parent9ccd37f754db33a190a9867bd5a310dfe5f4d17c (diff)
downloadjel-3994a6f408905049a5c280a303e30fe636b07968.tar.gz
jel-3994a6f408905049a5c280a303e30fe636b07968.zip
Add logger + log console
Diffstat (limited to 'Jel/Controllers/JellyfinClientController.swift')
-rw-r--r--Jel/Controllers/JellyfinClientController.swift3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jel/Controllers/JellyfinClientController.swift b/Jel/Controllers/JellyfinClientController.swift
index a80b908..24d4615 100644
--- a/Jel/Controllers/JellyfinClientController.swift
+++ b/Jel/Controllers/JellyfinClientController.swift
@@ -8,6 +8,7 @@
import Foundation
import Get
import JellyfinKit
+import Pulse
struct AuthHeaders: Codable {
var Client: String
@@ -56,6 +57,8 @@ class JellyfinClientController: ObservableObject {
let decoder = JSONDecoder()
decoder.dateDecodingStrategy = .iso8601withFractionalSeconds
$0.decoder = decoder
+
+ $0.sessionDelegate = Pulse.URLSessionProxyDelegate()
})
}