mirror of
https://github.com/jellyfin/Swiftfin.git
synced 2025-03-02 03:56:00 +00:00
cleanup
This commit is contained in:
parent
3eab18bc8d
commit
97001f4e27
@ -78,14 +78,13 @@ final class ConnectToServerViewModel: ViewModel {
|
||||
} else {
|
||||
self
|
||||
.connectToServer(uri: newURL.absoluteString
|
||||
.removeRegexMatches(pattern: "/web/index.html", replaceWith: ""),
|
||||
.removeRegexMatches(pattern: "/web/index.html"),
|
||||
redirectCount: redirectCount + 1)
|
||||
}
|
||||
} else {
|
||||
self.handleAPIRequestError(completion: completion)
|
||||
}
|
||||
}
|
||||
print(errorResponse)
|
||||
case is SwiftfinStore.Errors:
|
||||
let swiftfinError = error as! SwiftfinStore.Errors
|
||||
switch swiftfinError {
|
||||
|
Loading…
x
Reference in New Issue
Block a user