Fix Shikimori URL (#3497)

There is a redirect from the .one domain to the .io domain but it uses
code 301 for redirecting on the token POST request, meaning the
followup request tries to use GET which returns a 404.
This commit is contained in:
MajorTanya
2026-07-02 20:03:24 +02:00
committed by GitHub
parent d8c3440d37
commit 3fd76e4f93
2 changed files with 4 additions and 1 deletions
@@ -154,7 +154,7 @@ class ShikimoriApi(
)
companion object {
const val BASE_URL = "https://shikimori.one"
const val BASE_URL = "https://shikimori.io"
private const val API_URL = "$BASE_URL/api"
private const val OAUTH_URL = "$BASE_URL/oauth/token"
private const val LOGIN_URL = "$BASE_URL/oauth/authorize"