fix: Remove ports from shared YouTube links

This commit is contained in:
0x000C 2024-03-18 21:58:16 -07:00
parent cf5262a86e
commit 1c7da30caf

View File

@ -117,6 +117,10 @@ extension VideosAPI {
urlComponents.host = frontendHost
if frontendHost.contains("youtube.com") {
urlComponents.port = nil
}
var queryItems = [URLQueryItem]()
switch item.contentType {