mirror of
https://github.com/etesync/android
synced 2024-11-15 20:38:58 +00:00
Server url: use our etebase partner URL.
This commit is contained in:
parent
1bdd4d78f4
commit
3e7e90d466
@ -35,6 +35,7 @@ public class Constants {
|
||||
public static final Uri forgotPassword = webUri.buildUpon().appendEncodedPath("accounts/password/reset/").build();
|
||||
|
||||
public static final Uri serviceUrl = Uri.parse((DEBUG_REMOTE_URL == null) ? "https://api.etesync.com/" : DEBUG_REMOTE_URL);
|
||||
public static final String etebaseServiceUrl = (DEBUG_REMOTE_URL == null) ? "https://api.etebase.com/partner/etesync/" : DEBUG_REMOTE_URL;
|
||||
|
||||
public static final String PRODID_BASE = "-//EteSync//" + BuildConfig.APPLICATION_ID + "/" + BuildConfig.VERSION_NAME;
|
||||
|
||||
|
@ -90,7 +90,7 @@ class BaseConfigurationFinder(protected val context: Context, protected val cred
|
||||
fun findInitialConfigurationEtebase(): Configuration {
|
||||
var exception: Throwable? = null
|
||||
|
||||
val uri = credentials.uri
|
||||
val uri = credentials.uri ?: URI(Constants.etebaseServiceUrl)
|
||||
|
||||
var etebaseSession: String? = null
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user