We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87c69ce + 83d571e commit 6a4bf64Copy full SHA for 6a4bf64
1 file changed
src/main/java/com/github/greengerong/PrerenderConfig.java
@@ -42,7 +42,8 @@ public PreRenderEventHandler getEventHandler() {
42
43
public CloseableHttpClient getHttpClient() {
44
HttpClientBuilder builder = HttpClients.custom()
45
- .setConnectionManager(new PoolingHttpClientConnectionManager());
+ .setConnectionManager(new PoolingHttpClientConnectionManager())
46
+ .disableRedirectHandling();
47
48
configureProxy(builder);
49
configureTimeout(builder);
0 commit comments