Don't send requests with empty paths
This commit is contained in:
parent
182bb4b79b
commit
19848ba8e4
|
@ -48,6 +48,11 @@ public class NavigationManager: NSObject, ObservableObject {
|
||||||
components.path = "/"
|
components.path = "/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Some Gemini servers break on empty paths
|
||||||
|
if components.path.isEmpty {
|
||||||
|
components.path = "/"
|
||||||
|
}
|
||||||
|
|
||||||
let url = components.url!
|
let url = components.url!
|
||||||
|
|
||||||
backStack.append(currentURL)
|
backStack.append(currentURL)
|
||||||
|
|
Loading…
Reference in New Issue