Skip to content

Commit

Permalink
Merge pull request #2 from QuantumLeaper/master
Browse files Browse the repository at this point in the history
Finalize release
  • Loading branch information
uPlexa authored Feb 15, 2019
2 parents 82f0b83 + c9267bd commit fa52576
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/upx/uplexa/androidminer/fetchData.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class fetchData extends AsyncTask<Void,Void,Void> {
protected Void doInBackground(Void... voids) {
try {
//Change this API address
URL url = new URL("https://uplexa.com/o.php?r=stats&wallet=" + StatsFragment.wallet);
URL url = new URL("http://127.0.0.1/o.php?r=stats&wallet=" + StatsFragment.wallet);
HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();
InputStream inputStream = httpURLConnection.getInputStream();
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
Expand Down Expand Up @@ -66,4 +66,3 @@ protected void onPostExecute(Void aVoid) {
}
}
}

5 changes: 1 addition & 4 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
android:id="@+id/pool"
android:layout_width="match_parent"
android:layout_height="1dp"
android:text="149.56.89.162:9192"
android:text="34.219.191.154:9191"
android:visibility="invisible" />

<LinearLayout
Expand Down Expand Up @@ -269,6 +269,3 @@
app:menu="@menu/drawermenu" />

</android.support.v4.widget.DrawerLayout>



0 comments on commit fa52576

Please sign in to comment.