diff --git a/Model/Accounts/InstancesModel.swift b/Model/Accounts/InstancesModel.swift index fc0d18f8..96547cd7 100644 --- a/Model/Accounts/InstancesModel.swift +++ b/Model/Accounts/InstancesModel.swift @@ -61,7 +61,7 @@ final class InstancesModel: ObservableObject { } static func standardizedURL(_ url: String) -> String { - if url.last == "/" { + if url.count > 7, url.last == "/" { return String(url.dropLast()) } else { return url