Skip to content

Commit

Permalink
Reassigned httpServerBuilder after enableHttps (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgalindo-stripe authored May 7, 2024
1 parent 46249fa commit fd6d67a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private void startAPIServer() {
.newServerAt("0.0.0.0", port);

if(this.httpsConnectionContext != null) {
httpServerBuilder.enableHttps(this.httpsConnectionContext);
httpServerBuilder = httpServerBuilder.enableHttps(this.httpsConnectionContext);
}

final CompletionStage<ServerBinding> binding = httpServerBuilder
Expand Down

0 comments on commit fd6d67a

Please sign in to comment.