From ac6922c09f61de071e67493e94505f888ac28757 Mon Sep 17 00:00:00 2001 From: Shabinder Singh Date: Wed, 24 Mar 2021 09:12:52 +0530 Subject: [PATCH] Update Cors Proxy. --- .../kotlin/com/shabinder/common/di/providers/YoutubeMp3.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/dependency-injection/src/commonMain/kotlin/com/shabinder/common/di/providers/YoutubeMp3.kt b/common/dependency-injection/src/commonMain/kotlin/com/shabinder/common/di/providers/YoutubeMp3.kt index 3bd580ae..660fc262 100644 --- a/common/dependency-injection/src/commonMain/kotlin/com/shabinder/common/di/providers/YoutubeMp3.kt +++ b/common/dependency-injection/src/commonMain/kotlin/com/shabinder/common/di/providers/YoutubeMp3.kt @@ -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 } }