File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
api/src/main/java/app/simplecloud/api Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ public interface CloudApi {
4343 * <ul>
4444 * <li>SIMPLECLOUD_NETWORK_ID (default: "default")</li>
4545 * <li>SIMPLECLOUD_NETWORK_SECRET (default: "")</li>
46- * <li>SIMPLECLOUD_NATS_URL (default: "nats://localhost :4222")</li>
47- * <li>SIMPLECLOUD_CONTROLLER_URL (default: "http ://localhost:1337 ")</li>
46+ * <li>SIMPLECLOUD_NATS_URL (default: "nats://platform.simplecloud.app :4222")</li>
47+ * <li>SIMPLECLOUD_CONTROLLER_URL (default: "https ://controller.platform.simplecloud.app ")</li>
4848 * </ul>
4949 *
5050 * @return a new CloudApi instance
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ public static class Builder {
4343 private String networkSecret ;
4444
4545 public Builder () {
46- this .natsUrl = System .getenv ().getOrDefault ("SIMPLECLOUD_NATS_URL" , "nats://localhost :4222" );
47- this .controllerUrl = System .getenv ().getOrDefault ("SIMPLECLOUD_CONTROLLER_URL" , "http ://localhost:1337 " );
46+ this .natsUrl = System .getenv ().getOrDefault ("SIMPLECLOUD_NATS_URL" , "nats://platform.simplecloud.app :4222" );
47+ this .controllerUrl = System .getenv ().getOrDefault ("SIMPLECLOUD_CONTROLLER_URL" , "https ://controller.platform.simplecloud.app " );
4848 this .networkId = System .getenv ().getOrDefault ("SIMPLECLOUD_NETWORK_ID" , "default" );
4949 this .networkSecret = System .getenv ().getOrDefault ("SIMPLECLOUD_NETWORK_SECRET" , "" );
5050 }
You can’t perform that action at this time.
0 commit comments