mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-18 18:23:33 -05:00
Update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0 (#1786)
* Update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0 * Format --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Syer10 <syer10@users.noreply.github.com>
This commit is contained in:
@@ -72,8 +72,12 @@ internal class RateLimitInterceptor(
|
||||
|
||||
val request = chain.request()
|
||||
when (host) {
|
||||
null, request.url.host -> {} // need rate limit
|
||||
else -> return chain.proceed(request)
|
||||
// need rate limit
|
||||
null, request.url.host -> {}
|
||||
|
||||
else -> {
|
||||
return chain.proceed(request)
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user