diff --git a/core/src/main/kotlin/voodoo/curse/CurseClient.kt b/core/src/main/kotlin/voodoo/curse/CurseClient.kt index 3e715564..17357b05 100644 --- a/core/src/main/kotlin/voodoo/curse/CurseClient.kt +++ b/core/src/main/kotlin/voodoo/curse/CurseClient.kt @@ -84,7 +84,7 @@ object CurseClient { section: String? = null, slug: String? = null ): List = withContext(MDCContext() + Dispatchers.IO) { - val url = "https://curse.nikky.moe/graphql" + val url = System.getenv("VOODOO_CURSEPROXY_URL") ?: "https://curse.nikky.moe/graphql" val filters = mutableListOf("gameId: 432") gameVersions?.takeIf { it.isNotEmpty() }?.let { filters += it.joinToString("\", \"", "gameVersionList: [\"", "\"]")