This commit is contained in:
Ethan Pippin 2022-01-14 12:24:34 -07:00
parent 3eab18bc8d
commit 97001f4e27

View File

@ -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 {