Skip to content

Commit

Permalink
Send login tokens to all proxer hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed May 30, 2017
1 parent 1ba58da commit 457a278
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ final class LoginTokenInterceptor implements Interceptor {
public Response intercept(final Chain chain) throws IOException {
final Request oldRequest = chain.request();

if (oldRequest.url().host().equals(ProxerUrls.apiBase().host())) {
if (ProxerUrls.hasProxerHost(oldRequest.url())) {
final Request.Builder newRequestBuilder = oldRequest.newBuilder();
final String loginToken = loginTokenManager.provide();

Expand Down

0 comments on commit 457a278

Please sign in to comment.