|
|
|
@ -627,7 +627,8 @@ public class OWSLinkPreview: MTLModel {
|
|
|
|
|
|
|
|
|
|
Logger.verbose("url: \(urlString)")
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
sessionConfiguration.requestCachePolicy = .reloadIgnoringLocalCacheData
|
|
|
|
|