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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user