diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraUtils.kt b/SoraStream/src/main/kotlin/com/hexated/SoraUtils.kt index 5895b637..f9d02a50 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraUtils.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraUtils.kt @@ -170,7 +170,7 @@ suspend fun extractInstantUHD(url: String): String? { .build() return app.post( "$host/api", requestBody = body, headers = mapOf( - "x-token" to "${url.toUri().host}" + "x-token" to URI(url).host ), referer = "$host/" ).parsedSafe>()?.get("url") }