mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fix build
This commit is contained in:
parent
7dabff1da9
commit
2dd73dd012
1 changed files with 1 additions and 1 deletions
|
@ -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<Map<String, String>>()?.get("url")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue