mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-23 10:59:03 +00:00
This commit is contained in:
parent
69cd035ba1
commit
6c764a38bb
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ class JSController: ObservableObject {
|
|||
|
||||
func fetchStreamUrlJSSecond(episodeUrl: String, completion: @escaping (String?) -> Void) {
|
||||
let url = URL(string: episodeUrl)!
|
||||
let task = URLSession.shared.dataTask(with: url) { data, response, error in
|
||||
let task = URLSession.custom.dataTask(with: url) { data, response, error in
|
||||
if let error = error {
|
||||
Logger.shared.log("URLSession error: \(error.localizedDescription)", type: "Error")
|
||||
DispatchQueue.main.async {
|
||||
|
|
|
|||
Loading…
Reference in a new issue