Skip to content

Commit

Permalink
Set follow redirect, release 1.1.1 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtenbosch authored Oct 12, 2023
1 parent 6cf42dd commit ad7d1e8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/file-server-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>nl.aerius</groupId>
<artifactId>aerius-file-server-parent</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</parent>

<artifactId>aerius-file-server-client</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion source/file-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>nl.aerius</groupId>
<artifactId>aerius-file-server-parent</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</parent>

<artifactId>aerius-file-server</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion source/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<packaging>pom</packaging>

<artifactId>aerius-file-server-parent</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>

<name>AERIUS :: File Server Parent</name>
<description>The file server Parent</description>
Expand Down

0 comments on commit ad7d1e8

Please sign in to comment.