Update Cors Proxy.

This commit is contained in:
Shabinder Singh 2021-03-24 09:12:52 +05:30 committed by GitHub
parent 248d9ce3ad
commit ac6922c09f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ class YoutubeMp3(
) : Yt1sMp3 {
suspend fun getMp3DownloadLink(videoID: String): String? = getLinkFromYt1sMp3(videoID)?.let {
if (currentPlatform is AllPlatforms.Js/* && corsProxy !is CorsProxy.PublicProxyWithExtension*/)
"https://kind-grasshopper-73.telebit.io/cors/$it"
"https://spotiflyer.azurewebsites.net/$it"
else it
}
}