All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tago.Config Maven / Gradle / Ivy

The newest version!
package tago;

public class Config {

    public String app_url;
    public String realtime_url;

    public Config() {
        app_url = "https://api.tago.io";
        realtime_url = "https://realtime.tago.io";

        if (System.getenv("TAGO_API") != null) {
            app_url = System.getenv("TAGO_API");
        }
        if (System.getenv("TAGO_REALTIME") != null) {
            app_url = System.getenv("TAGO_REALTIME");
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy