small stuff
This commit is contained in:
parent
38eaa0c132
commit
39fcddfaf0
@ -21,6 +21,7 @@ public class SCNApp extends Application implements LifecycleObserver
|
||||
private static SCNApp instance;
|
||||
private static WeakReference<MainActivity> mainActivity;
|
||||
|
||||
public static final boolean LOCAL_DEBUG = BuildConfig.DEBUG;
|
||||
public static final boolean DEBUG = BuildConfig.DEBUG || !BuildConfig.VERSION_NAME.endsWith(".0");
|
||||
public static final boolean RELEASE = !DEBUG;
|
||||
|
||||
|
@ -19,7 +19,7 @@ import okhttp3.ResponseBody;
|
||||
|
||||
public class ServerCommunication
|
||||
{
|
||||
public static final String BASE_URL = "https://scn.blackforestbytes.com/";
|
||||
public static final String BASE_URL = SCNApp.LOCAL_DEBUG ? "localhost:1010/" : "https://scn.blackforestbytes.com/";
|
||||
|
||||
private static final OkHttpClient client = new OkHttpClient();
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 83 KiB |
BIN
data/graphic.png
BIN
data/graphic.png
Binary file not shown.
Before Width: | Height: | Size: 107 KiB |
Loading…
Reference in New Issue
Block a user