We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f10d0a1 commit 0e32295Copy full SHA for 0e32295
core/src/main/java/com/minekube/connect/config/ConnectConfig.java
@@ -50,7 +50,7 @@ public class ConnectConfig {
50
private static final String ENDPOINT_ENV = System.getenv("CONNECT_ENDPOINT");
51
52
public String getEndpoint() {
53
- if (!ENDPOINT_ENV.isEmpty()) {
+ if (ENDPOINT_ENV != null && !ENDPOINT_ENV.isEmpty()) {
54
return ENDPOINT_ENV;
55
}
56
return endpoint;
0 commit comments