diff --git a/app/src/main/java/code/name/monkey/retromusic/rest/LastFMRestClient.java b/app/src/main/java/code/name/monkey/retromusic/rest/LastFMRestClient.java index 5d00ecba..c6afb36c 100644 --- a/app/src/main/java/code/name/monkey/retromusic/rest/LastFMRestClient.java +++ b/app/src/main/java/code/name/monkey/retromusic/rest/LastFMRestClient.java @@ -66,7 +66,7 @@ public class LastFMRestClient { private static Interceptor createCacheControlInterceptor() { return chain -> { Request modifiedRequest = chain.request().newBuilder() - .addHeader("Cache-Control", String.format("max-age=31536000, max-stale=31536000")) + .addHeader("Cache-Control", "max-age=31536000, max-stale=31536000") .build(); return chain.proceed(modifiedRequest); };