mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 05:40:32 +05:30
Fix setting frontend URL
This commit is contained in:
parent
539869cdbb
commit
033249fa75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user