|
|
|
@ -627,10 +627,7 @@ public class OWSLinkPreview: MTLModel {
|
|
|
|
|
|
|
|
|
|
Logger.verbose("url: \(urlString)")
|
|
|
|
|
|
|
|
|
|
//It seems like Signal's proxy has been banned by Youtube.
|
|
|
|
|
//Just comment this out to fix link previews.
|
|
|
|
|
//We will move this to onion routing in the future
|
|
|
|
|
//let sessionConfiguration = ContentProxy.sessionConfiguration()
|
|
|
|
|
// let sessionConfiguration = ContentProxy.sessionConfiguration() // Loki: Signal's proxy appears to have been banned by YouTube
|
|
|
|
|
let sessionConfiguration = URLSessionConfiguration.ephemeral
|
|
|
|
|
|
|
|
|
|
// Don't use any caching to protect privacy of these requests.
|
|
|
|
|