mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-22 17:14:32 +01:00
Update CorsProxy.kt
Thanks @mpetuska.
This commit is contained in:
parent
8a2cc41e54
commit
1c7df25151
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user