pretty much finishes the prototype

This commit is contained in:
Vavassor 2017-05-23 19:48:54 -04:00
commit 036a305782
2 changed files with 3 additions and 3 deletions

View file

@ -163,7 +163,7 @@ public class BaseActivity extends AppCompatActivity {
protected void createTuskyApi() {
Retrofit retrofit = new Retrofit.Builder()
.baseUrl("https://" + getString(R.string.tusky_api_domain) + ":8080")
.baseUrl("https://" + getString(R.string.tusky_api_url))
.client(OkHttpUtils.getCompatibleClient())
.addConverterFactory(GsonConverterFactory.create())
.build();
@ -173,7 +173,7 @@ public class BaseActivity extends AppCompatActivity {
protected void createPushNotificationClient() {
pushNotificationClient = new PushNotificationClient(getApplicationContext(),
"ssl://" + getString(R.string.tusky_api_domain) + ":8883");
"ssl://" + getString(R.string.tusky_api_url) + ":8883");
}
protected void redirectIfNotLoggedIn() {