Update CorsProxy.kt

Thanks @mpetuska.
This commit is contained in:
Shabinder Singh 2021-03-23 17:59:39 +05:30 committed by GitHub
parent 8a2cc41e54
commit 1c7df25151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@
package com.shabinder.common.models package com.shabinder.common.models
sealed class CorsProxy(open val url: String) { sealed class CorsProxy(open val url: String) {
data class SelfHostedCorsProxy(override val url: String = "https://kind-grasshopper-73.telebit.io/cors/") : CorsProxy(url) data class SelfHostedCorsProxy(override val url: String = "https://spotiflyer.azurewebsites.net/") : CorsProxy(url)
data class PublicProxyWithExtension(override val url: String = "https://cors.bridged.cc/") : CorsProxy(url) data class PublicProxyWithExtension(override val url: String = "https://cors.bridged.cc/") : CorsProxy(url)
fun toggle(mode: CorsProxy? = null): CorsProxy { fun toggle(mode: CorsProxy? = null): CorsProxy {