1
0
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:
Tom Hacohen 2020-08-31 15:52:28 +03:00
parent 1bdd4d78f4
commit 3e7e90d466
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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 {