[skip ci] chore: Update Kitsu URL
This commit is contained in:
parent
a7cef9323e
commit
ebb61d94dd
1 changed files with 4 additions and 4 deletions
|
@ -20,16 +20,16 @@ object Kitsu {
|
||||||
"Accept" to "application/json",
|
"Accept" to "application/json",
|
||||||
"Accept-Encoding" to "gzip, deflate",
|
"Accept-Encoding" to "gzip, deflate",
|
||||||
"Accept-Language" to "en-US,en;q=0.5",
|
"Accept-Language" to "en-US,en;q=0.5",
|
||||||
"Host" to "kitsu.io",
|
"Host" to "kitsu.app",
|
||||||
"Connection" to "keep-alive",
|
"Connection" to "keep-alive",
|
||||||
"Origin" to "https://kitsu.io",
|
"Origin" to "https://kitsu.app",
|
||||||
"Sec-Fetch-Dest" to "empty",
|
"Sec-Fetch-Dest" to "empty",
|
||||||
"Sec-Fetch-Mode" to "cors",
|
"Sec-Fetch-Mode" to "cors",
|
||||||
"Sec-Fetch-Site" to "cross-site",
|
"Sec-Fetch-Site" to "cross-site",
|
||||||
)
|
)
|
||||||
val response = tryWithSuspend {
|
val response = tryWithSuspend {
|
||||||
val res = client.post(
|
val res = client.post(
|
||||||
"https://kitsu.io/api/graphql",
|
"https://kitsu.app/api/graphql",
|
||||||
headers,
|
headers,
|
||||||
data = mapOf("query" to query)
|
data = mapOf("query" to query)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue