mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-04 06:32:03 +00:00 
			
		
		
		
	Fix setting frontend URL
This commit is contained in:
		@@ -61,7 +61,7 @@ final class InstancesModel: ObservableObject {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    static func standardizedURL(_ url: String) -> String {
 | 
					    static func standardizedURL(_ url: String) -> String {
 | 
				
			||||||
        if url.last == "/" {
 | 
					        if url.count > 7, url.last == "/" {
 | 
				
			||||||
            return String(url.dropLast())
 | 
					            return String(url.dropLast())
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            return url
 | 
					            return url
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user