mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
fix: Remove ports from shared YouTube links
Fix #619: Remove ports from shared YouTube links
This commit is contained in:
parent
cf5262a86e
commit
6ec516dc3d
@ -117,6 +117,10 @@ extension VideosAPI {
|
||||
|
||||
urlComponents.host = frontendHost
|
||||
|
||||
if frontendHost.contains("youtube.com") {
|
||||
urlComponents.port = nil
|
||||
}
|
||||
|
||||
var queryItems = [URLQueryItem]()
|
||||
|
||||
switch item.contentType {
|
||||
|
Loading…
Reference in New Issue
Block a user