From 97001f4e27dc5bf39a80c68b1bdad2dd8dd1cdf5 Mon Sep 17 00:00:00 2001 From: Ethan Pippin Date: Fri, 14 Jan 2022 12:24:34 -0700 Subject: [PATCH] cleanup --- Shared/ViewModels/ConnectToServerViewModel.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Shared/ViewModels/ConnectToServerViewModel.swift b/Shared/ViewModels/ConnectToServerViewModel.swift index 12a5fbea..426b5a37 100644 --- a/Shared/ViewModels/ConnectToServerViewModel.swift +++ b/Shared/ViewModels/ConnectToServerViewModel.swift @@ -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 {