mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-02 21:51:56 +00:00 
			
		
		
		
	fix: Remove ports from shared YouTube links
This commit is contained in:
		@@ -117,6 +117,10 @@ extension VideosAPI {
 | 
			
		||||
 | 
			
		||||
        urlComponents.host = frontendHost
 | 
			
		||||
 | 
			
		||||
        if frontendHost.contains("youtube.com") {
 | 
			
		||||
            urlComponents.port = nil
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        var queryItems = [URLQueryItem]()
 | 
			
		||||
 | 
			
		||||
        switch item.contentType {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user