diff --git a/source/file-server-client/pom.xml b/source/file-server-client/pom.xml index 0ab57c4..c0e361a 100644 --- a/source/file-server-client/pom.xml +++ b/source/file-server-client/pom.xml @@ -23,7 +23,7 @@ nl.aerius aerius-file-server-parent - 1.1.0 + 1.1.1 aerius-file-server-client diff --git a/source/file-server-client/src/main/java/nl/aerius/fileserver/client/FileServerClient.java b/source/file-server-client/src/main/java/nl/aerius/fileserver/client/FileServerClient.java index b818bd8..1d5ae96 100644 --- a/source/file-server-client/src/main/java/nl/aerius/fileserver/client/FileServerClient.java +++ b/source/file-server-client/src/main/java/nl/aerius/fileserver/client/FileServerClient.java @@ -58,7 +58,8 @@ public class FileServerClient { private static final String ALL_FILES = "{uuid}"; public FileServerClient(final WebClient.Builder webClientBuilder, final FileServerProperties properties) { - this.fileServerWebClient = webClientBuilder.baseUrl(properties.getBaseUrl()).build(); + this.fileServerWebClient = webClientBuilder.baseUrl(properties.getBaseUrl()) + .clientConnector(new ReactorClientHttpConnector(HttpClient.create().followRedirect(true))).build(); this.fileServerWebClientWithoutRedirect = webClientBuilder.baseUrl(properties.getBaseUrl()) .clientConnector(new ReactorClientHttpConnector(HttpClient.create().followRedirect(false))).build(); } diff --git a/source/file-server/pom.xml b/source/file-server/pom.xml index e64d037..c1438dd 100644 --- a/source/file-server/pom.xml +++ b/source/file-server/pom.xml @@ -23,7 +23,7 @@ nl.aerius aerius-file-server-parent - 1.1.0 + 1.1.1 aerius-file-server diff --git a/source/pom.xml b/source/pom.xml index 68b01df..d2b82fe 100644 --- a/source/pom.xml +++ b/source/pom.xml @@ -29,7 +29,7 @@ pom aerius-file-server-parent - 1.1.0 + 1.1.1 AERIUS :: File Server Parent The file server Parent