pretty much finishes the prototype

This commit is contained in:
Vavassor 2017-05-23 19:48:54 -04:00
parent 6ee6157b7f
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() {

View file

@ -2,7 +2,7 @@
<resources>
<string name="app_name" translatable="false">Tusky</string>
<string name="app_website" translatable="false">https://tusky.keylesspalace.com</string>
<string name="tusky_api_domain" translatable="false">apitusky.keylesspalace.com</string>
<string name="tusky_api_url" translatable="false">apitusky.keylesspalace.com</string>
<string name="tusky_api_keystore_password" translatable="false">your_password_here</string>
<string name="oauth_scheme" translatable="false">oauth2redirect</string>